Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-01-15 20:13:26

fitboy
Member
Registered: 2013-01-14
Posts: 123

crashed site after eaccellerate turned on (error 500)

Hey,

I'm having a huge problem at the moment, I tried to enable eaccellerate as caching from admin panel. The second I enabled it, my site is just pure blank. Nothing works anymore!

Tried to manually revert the caching from database config (as I could no longer access the admin panel) and cleared config cache file but it didn't help. The only error logged was:

[14-Jan-2013 19:24:59] PHP Fatal error:  Call to undefined function eaccelerator_get() in /home/mysite/public_html/libraries/framework/cache/eaccelerator.php on line 13

but even after I reverted the changes, error 500 remained but no new log entry appeared.

Would anyone know how to get things back working?

Many Thanks!!
Patrick

Offline

#2 2013-01-16 08:06:37

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: crashed site after eaccellerate turned on (error 500)

You disabled the cache from the Admin panel again? And it still returns 500?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2013-01-16 10:22:27

fitboy
Member
Registered: 2013-01-14
Posts: 123

Re: crashed site after eaccellerate turned on (error 500)

No, I disabled the cache from sql table config. - I can't even get to the admin panel as the whole system gives me error 500.
I've also cleared the config cache but I still can't get in :-(

Offline

#4 2013-01-16 11:27:38

fitboy
Member
Registered: 2013-01-14
Posts: 123

Re: crashed site after eaccellerate turned on (error 500)

I managed to get things working again, it was not easy ;-)

basically I renamed index.php to index_.php to make the script stop (stop overwriting the temp config file). Then I replaced the cached config_…php with the content of our other site. (this step gave me the configuration for the other site though, but at least it worked again)
Then I checked the differences in those two files,
turned out that I had to switch:

s:12:"cache_driver";s:12:"none";
to
s:12:"cache_driver";s:4:"none";

So basically, the script seems to load the settings from the cached config file - in our case, this file only contained "b:0;" and nothing else.

I also changed to s:4 in the database, cleared cache from admin panel again. seems to work now. phew ;-)

Still wonder why turning on eaccellerate completely crashed everything :-(

Offline

#5 2013-01-16 15:46:12

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: crashed site after eaccellerate turned on (error 500)

Probably because you did not have support for eaccelator in php and it returns function not found (with debug disabled this means no error messages, just 500). The script always loads the data from the cache file, unless the file isnt there, in which case it will recreate the config cache file.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2013-08-23 05:29:30

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Re: crashed site after eaccellerate turned on (error 500)

Im having this exact same issue. Too bad im not tech savvy as bitboy, need some help.

Offline

#7 2013-08-26 06:43:27

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: crashed site after eaccellerate turned on (error 500)

Disable debug from the Admin -> Config. Delete tmp/cache/config/config_*.php then go to Admin -> Config and save the config.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#8 2014-02-08 18:45:29

MrPulse
Member
Registered: 2013-03-05
Posts: 107
Website

Re: crashed site after eaccellerate turned on (error 500)

god... I've set eaccelerator and the site disappeared... fitboi i want to make a monument for you and your post

Symtab I think a big sticky for this discussion is good.  This will avoid soiling pants of other users in future

Offline

Board footer

Powered by FluxBB