Jump to content

Possible Bug (More Likely an issue with my host)


VinceN

Recommended Posts

Alrighty,I checked out the current version via SVN which is reversion 254. I uploaded the files to my webhost and configured the permissions per the installation instructions.When I go to install, The page throws several errors which I will detail below.I belive this is more likely an issue with my host as when I test these files locally the errors do not appear.I am using PHP 5.0.4Relevant URLS arePHPINFO = http://test.ceruleanairlines.com/info.phpINSTALL PAGE = http://test.ceruleanairlines.com/install/install.phpThe errors are as follows==========================================================Notice: Use of undefined constant CACHE_TIMEOUT - assumed 'CACHE_TIMEOUT' in /var/www/vhosts/ceruleanairlines.com/subdomains/test/httpdocs/core/classes/Template.class.php on line 13Notice: Undefined index: action in /var/www/vhosts/ceruleanairlines.com/subdomains/test/httpdocs/install/install.php on line 8Notice: Use of undefined constant ADMIN_PANEL - assumed 'ADMIN_PANEL' in /var/www/vhosts/ceruleanairlines.com/subdomains/test/httpdocs/core/classes/TemplateSet.class.php on line 103Notice: Undefined index: page in /var/www/vhosts/ceruleanairlines.com/subdomains/test/httpdocs/install/install.php on line 41Notice: Use of undefined constant ADMIN_PANEL - assumed 'ADMIN_PANEL' in /var/www/vhosts/ceruleanairlines.com/subdomains/test/httpdocs/core/classes/TemplateSet.class.php on line 103Notice: Undefined variable: message in /var/www/vhosts/ceruleanairlines.com/subdomains/test/httpdocs/install/templates/s1_db_setup.tpl on line 12Notice: Use of undefined constant ADMIN_PANEL - assumed 'ADMIN_PANEL' in /var/www/vhosts/ceruleanairlines.com/subdomains/test/httpdocs/core/classes/TemplateSet.class.php on line 103

Link to comment
Share on other sites

UpdateI called my hosting provider and they suggested that it may be an issue with safe mode. However I then checked and safe mode is disabled on both my hosting account and my local hosting account, (Though my hosting account only had safe mode disabled locally with the master value still set to ON, If this makes a difference I do not know)They are looking into it closer and I will post any new information I have.

Link to comment
Share on other sites

  • Administrators

Hey,Those are just notices, not warnings or errors. It's most likely because in your php.ini, you have display_errors set to on, and error reporting to E_ALL. Usually, on production servers, display_errors is set to off, your server just seems to have it on, with the error_reporting level turned all the way up.In your site_config.inc.php, you can put:error_reporting(E_ALL ^ E_NOTICE);orini_set('error_reporting', E_ALL ^ E_NOTICE);That will shut off the E_NOTICE errors.. The first one is what I have set in the config.inc.php, but your server seems to be over-riding that. Hopefully that helps. Lemme know how that turns out.

Link to comment
Share on other sites

I've tried both those strings as well as setting Error Reporting to OFFStill throwing notices left right and center. I've contacted host my site to see if they can disable it from the PHP.INI (I can't find my VPS's INI file and I don't know how to create one from scratch without it.)I'll let you know.

Link to comment
Share on other sites

  • Administrators
Ok, I made a copy of my sitewide PHP.INI and placed it into the root of my test server directory. Disabling Error Reporting in this PHP.INI appears to have solved the issue.
Cool. Don't disable it completelely, instead set it as E_ALL ^ E_NOTICEThat way, errored pages won't shut up blank, but will show an actual error. You might also want to set display_errors to off, for any other sites.
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...