- Posts: 1
[Closed] PHP error reporting
- joe sade
- Topic Author
- Offline
- New Member
-
Less
More
14 years 10 months ago - 14 years 10 months ago #1
by joe sade
[Closed] PHP error reporting was created by joe sade
hi......help me please....i have an error in my joomdle. this is the screen shoot
Last edit: 14 years 10 months ago by Chris.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
14 years 10 months ago #2
by Chris
Replied by Chris on topic Re: PHP error reporting
This just means that you have PHP display errors turned on. It will not stop Joomdle from working.
Please Log in or Create an account to join the conversation.
- Jim Grusendorf
- Offline
- New Member
-
Less
More
- Posts: 9
14 years 10 months ago - 14 years 10 months ago #3
by Jim Grusendorf
Replied by Jim Grusendorf on topic Re: PHP error reporting
I have the same error re E_DEPRECATED errors being enabled, but it is incorrect. My php.ini contains 'error_reporting = E_ALL & ~E_DEPRECATED'. At the top of the System Check page I also see this error:
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /[my file structure]/administrator/components/com_joomdle/helpers/content.php on line 1172
Using Joomdle 0.54 and Joomla 1.5.23.
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /[my file structure]/administrator/components/com_joomdle/helpers/content.php on line 1172
Using Joomdle 0.54 and Joomla 1.5.23.
Last edit: 14 years 10 months ago by Jim Grusendorf.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
14 years 10 months ago #4
by Chris
Replied by Chris on topic Re: PHP error reporting
What is your PHP version?
You may also want to try this
Change
if (($display_errors) && ($error_reporting & E_DEPRECATED))
in line 1172 of administrator/components/com_joomdle/helpers/content.php
to
if (($display_errors) && ($error_reporting))
and see if that removes the errors.
Note: If this works, it would not be a permanent fix just testing to see if this helps your case.
You may also want to try this
Change
if (($display_errors) && ($error_reporting & E_DEPRECATED))
in line 1172 of administrator/components/com_joomdle/helpers/content.php
to
if (($display_errors) && ($error_reporting))
and see if that removes the errors.
Note: If this works, it would not be a permanent fix just testing to see if this helps your case.
Please Log in or Create an account to join the conversation.
- Jim Grusendorf
- Offline
- New Member
-
Less
More
- Posts: 9
14 years 10 months ago #5
by Jim Grusendorf
Replied by Jim Grusendorf on topic Re: PHP error reporting
Thanks. PHP version is 5.2.17. (I wish I could upgrade it, but I'm at BlueHost's mercy.)
I can test the fix when I reinstall Joomdle. In order to do that, however, I'll need some idea of whether this problem can be resolved:
www.joomdle.com/en/forum/r05-support/553...-in-new-installation
I can test the fix when I reinstall Joomdle. In order to do that, however, I'll need some idea of whether this problem can be resolved:
www.joomdle.com/en/forum/r05-support/553...-in-new-installation
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
14 years 10 months ago #6
by Chris
Replied by Chris on topic Re: PHP error reporting
@PHP 5.2.17. This explains why you are getting the message. The function is used for PHP 5.3 and above. So if you change to the code as above, it should be OK.
As for your other post, I have already responded to it. As said, this is the way Moodle works now. You get that plugin check page then press the button to continue.
As for your other post, I have already responded to it. As said, this is the way Moodle works now. You get that plugin check page then press the button to continue.
Please Log in or Create an account to join the conversation.
- Jim Grusendorf
- Offline
- New Member
-
Less
More
- Posts: 9
14 years 10 months ago #7
by Jim Grusendorf
Replied by Jim Grusendorf on topic Re: PHP error reporting
Yes, you responded about the Plugins page behaviour -- thanks for that. But you must have missed my follow-up post, where I tried to clarify that the real problem is not being able to add any functions to the service. I just didn't know if the Plugins page behaviour was normal, and thought it might provide a clue. Sorry for the confusion.
Do you think that the missing functions problem might also be due to the PHP version? I wish I weren't at the mercy of BlueHost to upgrade PHP. They won't even give me a straight answer about when they plan to do it.
Do you think that the missing functions problem might also be due to the PHP version? I wish I weren't at the mercy of BlueHost to upgrade PHP. They won't even give me a straight answer about when they plan to do it.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
14 years 10 months ago #8
by Chris
Replied by Chris on topic Re: PHP error reporting
No the issues are unrelated.
I shall close this post as it deals with the PHP version and continue in the other thread.
I shall close this post as it deals with the PHP version and continue in the other thread.
Please Log in or Create an account to join the conversation.