PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Error Log since installing DirectPHP (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Error Log since installing DirectPHP


#5866
bostmaguy (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Error Log since installing DirectPHP 1 Year, 5 Months ago Karma: 0  
I FTP's to my site and noticed in the root directory that the error_log was 11.8 MB! I opened it up and this is what was repeated over and over again:

[04-Apr-2013 08:46:41 America/Denver] PHP Notice: Use of undefined constant Y - assumed 'Y' in /home2/nonamesc/public_html/domainnamehere/plugins/content/DirectPHP/DirectPHP.php(58) : eval()'d code on line 1

I replaced the actual domain name above for privacy reasons.

I'm using J2.5.9, PHP 5.3, and all my extensions are up to date. I have no idea what to do because I only installed DirectPHP last week and the error log is already ballooned to nearly 12 MB. Thank you.
 
  The administrator has disabled public write access.

#5867
kksou (Admin)
Admin
Posts: 1722
graph
User Online Now Click here to see the profile of this user
Re:Error Log since installing DirectPHP 1 Year, 5 Months ago Karma: 27  
Hi,

Sorry for the late reply.

Looking at the error message, it's the PHP code you are running using DirectPHP that produces the error.

What is the PHP code that you're trying to run?

Please refer to the article: How to debug PHP codes in DirectPHP?

As mentioned in the article, DirectPHP uses the standard PHP function eval(). Problem is eval() does not give you any meanful debugging information. So follow the instructions in the article to copy your codes into a standalone .php file so that you can see the actual error message.

Hope this helps.

Regards,
/kksou
 
  The administrator has disabled public write access.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2012. kksou.com. All Rights Reserved