[SOLVED] Benchmark.php not found
johnmag4u
Joined: 2012-10-29
Posts: 4 |
Posted: Mon, 2012-10-29 01:36 |
I did a fresh install to the root of my domain. I received a blank page on load of index.php after running a perfect install. I created the local.php file to put the site into sandbox mode. I found the following errors: Warning: require(/core/Benchmark.php) [function.require]: failed to open stream: No such file or directory in /home/content/j/o/h/johnmag4u/html/printlightening.com/application/Bootstrap.php on line 25 Fatal error: require() [function.require]: Failed opening required '/core/Benchmark.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/j/o/h/johnmag4u/html/printlightening.com/application/Bootstrap.php on line 25 The site is here: I posted phpinfo here: The site is hosted by GoDaddy's linux shared server. Any help would be greatly appreciated! |
|
Posts: 8339
check your download package, maybe that file failed to upload.
It'll be in gallery3/system/core/
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 4
Thanks for the location. You are correct, it did not upload for some reason.
I now receive:
Dang... Something went wrong!
We tried really hard, but it's broken.
Talk to your Gallery administrator for help fixing this!
The log file reads:
2012-10-29 11:37:11 -07:00 --- error: Kohana_PHP_Exception [ 8192 ]: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater
Unknown [ 0 ]
#0 [internal function]: Kohana_PHP_Exception_Core::shutdown_handler(NULL)
#1 /home/content/j/o/h/johnmag4u/html/printlightening.com/system/core/Event.php(208): call_user_func_array(Array, Array)
#2 /home/content/j/o/h/johnmag4u/html/printlightening.com/system/core/Kohana.php(553): Event_Core::run('system.shutdown')
#3 [internal function]: Kohana_Core::shutdown()
#4 {main}
According to the PHP manual, magic quotes are deprecated in 5.3 and not available in 5.4.
Again, any help is greatly appreciated!
Posts: 8339
magic_quotes_gpc must be off and your phpinfo shows them as on
gallery3 tries to turn them off in both gallery3/php.ini and gallery3/.htaccess make sure both of these files are in place and you see that they both have that directive.
but some hosts don't allow php directives to be handled that way.
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 4
Thanks for your help!
As a note in case people find this post while searching for a solution:
GoDaddy does not let you override php.ini settings in the .htaccess file but you can in a php.ini file. The trick is you need to rename the file to php5.ini .
Posts: 27300
Perhaps you can update the host specific section with your findings:
http://codex.gallery2.org/Gallery3:Host_specific_issues#GoDaddy
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
Thanks for the recommendation, I have made the update.