Jump to content

[SOLVED]Multiple Errors After Restore...


Recommended Posts

Posted

Got this error below. All i did was a restore on my files after switching hosting servers. Not seeing any threads related to this...any help would be great!

Warning: file_put_contents(): Only 0 of 1680 bytes written, possibly out of free disk space in /home/eravirtu/public_html/en/core/classes/CodonCache.class.php on line 210

also have these errors:

Strict Standards: Accessing static property Finances::$post as non static in /home/eravirtu/public_html/en/core/classes/CodonModule.class.php on line 67

tried the fix by adding:

ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);

located right after "<?php "

no luck...

Thanks in advance for any help on these errors.

  • Administrators
Posted

What version of php is your new host running? The strict standards error is usually showing up from an upgrade from 5.3 to 5.4

The put_contents error could be any one of a number of things but a shot in the dark would probably be the file permissions of the /core/cache folder

  • Administrators
Posted

The one at the very bottom;

Fatal error: Cannot re-assign auto-global variable _FILES in /home/eravirtu/public_html/en/core/common/PilotData.class.php on line 436

Definitely makes me think it is a server running php 5.4.x

There are a number of work arounds in the forums and on the github page.

Posted

Fixed the warning message but still have the strict standard problem. I also now have an issue with my pilot list in the admin panel not working. Shows 0 pilots but the website shows all the pilots. Any ideas on a fix for that?

  • 2 weeks later...
Posted

Found the issue. After searching through each file in the "/admin" section, I located on the "action.php" file a line coded as:

error_reporting(E_ALL ^ E_NOTICE);

Deleted that line and in its place added:

ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);

This fixed all errors I have been having with the admin panel. I seen a post earlier about this line of code to be added to other files but thought i'd try it out with this file and I guess that is all that was needed.

Attached Picture shows what I did.

post-7024-0-65023700-1383706831_thumb.png

  • 2 weeks later...
Posted

The one at the very bottom;

Fatal error: Cannot re-assign auto-global variable _FILES in /home/eravirtu/public_html/en/core/common/PilotData.class.php on line 436

Definitely makes me think it is a server running php 5.4.x

There are a number of work arounds in the forums and on the github page.

I am checking my host to see if this is my issue. (I have a "trouble-ticket" post on another topic referring to this issue.) So far I have not been able to locate their version but given the similarity of issues, I would bet I am in this boat. Searching for "work around".

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...