Jump to content

Pirep Submitt Error


flyalaska

Recommended Posts

I get this when I approve a pirep.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2930 bytes) in /home/caspsh1/public_html/fly/core/classes/ezdb/ezdb_mysql.class.php on line 273

The pirep gets approved, I have go back to pending everytime. Any ideas what this means?

Link to comment
Share on other sites

  • Administrators

It is an error from running out of execution time and memory availability on your server. Pre-beta versions recalculate the va's hours on every PIREP approval and once you get a significant amount of PIREPs in the dtabase it becomes a long task. It has been chnaged in the beta version and the function has been moved elsewhere to avoid the issue.

The quick fix is to comment out line 317 of your /admin/modules/PIREPadmin/PIREPadmin.php file;

StatsData::UpdateTotalHours();

Doing this will cause your va's total hours not to advance on PIREP approval but you could build the function into the maintenance file if you are running it daily.

Or you could incorporate the new functions from the beta into your install, or completely upgrade to the beta.

Link to comment
Share on other sites

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...