Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin is blank


zchlomo

Recommended Posts

Posted

Haven't changed anything.. all of a sudden the Admin is just blank, none of the pages in the admin folder will show when I try typing in direct addresses.. they're all blank.

 

Any suggestions?

 

I tried asking my web hotel provider, but they claim they haven't changed or updated anything.

 

I've also tried uploading a backup of the admin folder, but that didn't help.

 

Can it be something with the database? The store with all it's products show's just fine, and customers can place orders like normal, it's just the admin folder that won't show :/

Posted

Haven't changed anything.. all of a sudden the Admin is just blank, none of the pages in the admin folder will show when I try typing in direct addresses.. they're all blank.

 

Any suggestions?

 

I tried asking my web hotel provider, but they claim they haven't changed or updated anything.

 

I've also tried uploading a backup of the admin folder, but that didn't help.

 

Can it be something with the database? The store with all it's products show's just fine, and customers can place orders like normal, it's just the admin folder that won't show :/

 

Hi Mads,

 

If the shop is showing it is not the database. On the other hand check your admin/includes/configure.php file in case it is corrupted or was accidentally replaced with the catalog configure file. Same thing for your admin/includes/header.php and admin/login.php

 

Barbara

Posted

Hi Mads,

 

If the shop is showing it is not the database. On the other hand check your admin/includes/configure.php file in case it is corrupted or was accidentally replaced with the catalog configure file. Same thing for your admin/includes/header.php and admin/login.php

 

Barbara

 

I've checked all the files, but nothing has changed :/

 

Is there any way to "scan" for problems?

 

I also tried uploading the admin folder from a fresh download of oscommerce. I first received a message saying "unable to connect to database", but then updated the configure.php file. The error message is gone, but now the page is just blank like with the old admin folder.. none of the pages will show :/

 

Anyone else ever had a similar problem? It's so frustrating not beeing able to find the error, as there is no error messages :/

Posted

I've checked all the files, but nothing has changed :/

 

Is there any way to "scan" for problems?

 

I also tried uploading the admin folder from a fresh download of oscommerce. I first received a message saying "unable to connect to database", but then updated the configure.php file. The error message is gone, but now the page is just blank like with the old admin folder.. none of the pages will show :/

 

Anyone else ever had a similar problem? It's so frustrating not beeing able to find the error, as there is no error messages :/

 

 

Hi again,

 

This is a good one... haven't had it yet. Look at your permissions for the configure.php files now that you did a new upload and be sure they are 444 (not writeable) as if they are you could have problems. Also look to see if there is any suspicious file in your admin files that you do not recognize.

 

Generally a white screen comes from an error in the admin/includes/header.php - check for suspicious code - or the admin/login.php, admin/index.php

The database functions for the catalog so it is not corrupt.

 

Try changing these 3 files with vanilla Osc ones in case malicious code was entered.

 

Barbara

Posted

Hi again,

 

This is a good one... haven't had it yet. Look at your permissions for the configure.php files now that you did a new upload and be sure they are 444 (not writeable) as if they are you could have problems. Also look to see if there is any suspicious file in your admin files that you do not recognize.

 

Generally a white screen comes from an error in the admin/includes/header.php - check for suspicious code - or the admin/login.php, admin/index.php

The database functions for the catalog so it is not corrupt.

 

Try changing these 3 files with vanilla Osc ones in case malicious code was entered.

 

Barbara

 

Tried all of this with no luck.. any other suggestions? :/ how is it possible that all files in /admin/ shows up blank? There should at least be some letters or error messages in some of the files... there must be something wrong in one of the files that shows in all pages like stylesheet, header, application_top etc.. but I can't find anything wrong in any of the files :/

Posted

Tried all of this with no luck.. any other suggestions? :/ how is it possible that all files in /admin/ shows up blank? There should at least be some letters or error messages in some of the files... there must be something wrong in one of the files that shows in all pages like stylesheet, header, application_top etc.. but I can't find anything wrong in any of the files :/

 

Turn on error reporting on your server or ask your hoster to turn it on as normally you SHOULD see a warning at the top.

 

At the worst, if you have mad no changes to the admin section of your store, upload a vanilla copy.

 

Barbara

Posted

Haven't changed anything.. all of a sudden the Admin is just blank, none of the pages in the admin folder will show when I try typing in direct addresses.. they're all blank.

 

Any suggestions?

 

I tried asking my web hotel provider, but they claim they haven't changed or updated anything.

 

I've also tried uploading a backup of the admin folder, but that didn't help.

 

Can it be something with the database? The store with all it's products show's just fine, and customers can place orders like normal, it's just the admin folder that won't show :/

 

A blank screen usually means that the site is generating serious errors but as error reporting is off nothing is displayed.

 

In ADMIN/includes/application_top.php

 

Try the following: -

 

Find ..

 

error_reporting(E_ALL & ~E_NOTICE);

 

 

Replace ( TEMPORARILY ) with ..

 

//error_reporting(E_ALL & ~E_NOTICE);
// REMOVE ME!
@ini_set( 'display_errors', 1 );
error_reporting( E_ALL | E_STRICT );
// END REMOVE ME!

 

See if that doesn't give you some clues.

Posted

A blank screen usually means that the site is generating serious errors but as error reporting is off nothing is displayed.

 

In ADMIN/includes/application_top.php

 

Try the following: -

 

Find ..

 

error_reporting(E_ALL & ~E_NOTICE);

 

 

Replace ( TEMPORARILY ) with ..

 

//error_reporting(E_ALL & ~E_NOTICE);
// REMOVE ME!
@ini_set( 'display_errors', 1 );
error_reporting( E_ALL | E_STRICT );
// END REMOVE ME!

 

See if that doesn't give you some clues.

 

Holy crap.. :) this text appeared when I changed the error reporting line, any clues where I should start?:

 

"Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/filenames.php on line 68 Notice: Constant FILENAME_PRODUCT_UPDATES already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/filenames.php on line 68 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant MODULE_FIXED_PAYMENT_CHG_AMOUNT already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant MAX_PROD_ADMIN_SIDE already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant INFO_SMALL_IMAGE_WIDTH already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant INFO_SMALL_IMAGE_HEIGHT already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant MODULE_SHIPPING_TABLE_ZONE already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant MODULE_SHIPPING_TABLE_ZONE already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant MODULE_SHIPPING_TABLE_ZONE already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: session_start(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/functions/sessions.php on line 67 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php:74) in /hsphere/local/home/silence0/rockshop.no/admin/includes/functions/sessions.php on line 67 Strict Standards: session_start(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/functions/sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php:74) in /hsphere/local/home/silence0/rockshop.no/admin/includes/functions/sessions.php on line 67 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 185 Notice: Constant ENTRY_CITY already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 185 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 187 Notice: Constant ENTRY_STATE already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 187 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 189 Notice: Constant ENTRY_COUNTRY already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 189 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 191 Notice: Constant ENTRY_TELEPHONE_NUMBER already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 191 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 193 Notice: Constant ENTRY_FAX_NUMBER already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 193 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 195 Notice: Constant ENTRY_NEWSLETTER already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 195 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 196 Notice: Constant ENTRY_NEWSLETTER_YES already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 196 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 197 Notice: Constant ENTRY_NEWSLETTER_NO already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 197 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 321 Notice: Constant BOX_CATALOG_MANUFACTURERS2 already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 321 Strict Standards: require(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/classes/upload.php on line 31 Fatal error: Cannot re-assign $this in /hsphere/local/home/silence0/rockshop.no/admin/includes/classes/upload.php on line 31 "

Posted

Holy crap.. :) this text appeared when I changed the error reporting line, any clues where I should start?:

 

"Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/filenames.php on line 68 Notice: Constant FILENAME_PRODUCT_UPDATES already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/filenames.php on line 68 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant MODULE_FIXED_PAYMENT_CHG_AMOUNT already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant MAX_PROD_ADMIN_SIDE already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant INFO_SMALL_IMAGE_WIDTH already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant INFO_SMALL_IMAGE_HEIGHT already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant MODULE_SHIPPING_TABLE_ZONE already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant MODULE_SHIPPING_TABLE_ZONE already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Notice: Constant MODULE_SHIPPING_TABLE_ZONE already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php on line 74 Strict Standards: session_start(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/functions/sessions.php on line 67 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php:74) in /hsphere/local/home/silence0/rockshop.no/admin/includes/functions/sessions.php on line 67 Strict Standards: session_start(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/functions/sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /hsphere/local/home/silence0/rockshop.no/admin/includes/application_top.php:74) in /hsphere/local/home/silence0/rockshop.no/admin/includes/functions/sessions.php on line 67 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 185 Notice: Constant ENTRY_CITY already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 185 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 187 Notice: Constant ENTRY_STATE already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 187 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 189 Notice: Constant ENTRY_COUNTRY already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 189 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 191 Notice: Constant ENTRY_TELEPHONE_NUMBER already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 191 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 193 Notice: Constant ENTRY_FAX_NUMBER already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 193 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 195 Notice: Constant ENTRY_NEWSLETTER already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 195 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 196 Notice: Constant ENTRY_NEWSLETTER_YES already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 196 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 197 Notice: Constant ENTRY_NEWSLETTER_NO already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 197 Strict Standards: define(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 321 Notice: Constant BOX_CATALOG_MANUFACTURERS2 already defined in /hsphere/local/home/silence0/rockshop.no/admin/includes/languages/norwegian.php on line 321 Strict Standards: require(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /hsphere/local/home/silence0/rockshop.no/admin/includes/classes/upload.php on line 31 Fatal error: Cannot re-assign $this in /hsphere/local/home/silence0/rockshop.no/admin/includes/classes/upload.php on line 31 "

 

Soften the error reporting a bit from E_ALL | E_STRICT to just E_ALL

 

In fact even better .. install KissER ( link in my sig ) it will help you greatly I think ( ONLY if your server is running PHP5.2+ )

 

If you install KissER you can ( MUST ) turn the settings in application_top.php back to their original.

Posted

Holy crap.. :) this text appeared when I changed the error reporting line, any clues where I should start?:

Fatal error: Cannot re-assign $this in /hsphere/local/home/silence0/rockshop.no/admin/includes/classes/upload.php on line 31

 

Classic. Haven't upgraded your shop in years obviously.

 

For the timezone: see this post. Obviously, you will have to use a different timezone there.

Posted

Fatal error: Cannot re-assign $this in /hsphere/local/home/silence0/rockshop.no/admin/includes/classes/upload.php on line 31

 

Classic. Haven't upgraded your shop in years obviously.

 

For the timezone: see this post. Obviously, you will have to use a different timezone there.

 

Hi Mr JZ .. not met you in a post for ages!!

 

the following I think may be a good replacement for the old error_reporting line in application_top.php: -

 /**
 * @link http://www.php.net/manual/en/timezones.php
 */
 if ( function_exists( 'date_default_timezone_set' ) ) {
   // see @link above to set your own timezone
   date_default_timezone_set( "EUROPE/LONDON" );
 }

 // set the level of error reporting
 if ( defined( 'E_DEPRECATED' ) ) {
   error_reporting( E_ALL & ~E_NOTICE & ~E_DEPRECATED );
 } else error_reporting( E_ALL & ~E_NOTICE );

 

Obviously date_default_timezone_set() should really be set via config.

Posted

Hi Mr JZ .. not met you in a post for ages!!

When the pro's get involved the amateurs get out of the way :)

 

the following I think may be a good replacement for the old error_reporting line in application_top.php: -

 /**
 * @link http://www.php.net/manual/en/timezones.php
 */
 if ( function_exists( 'date_default_timezone_set' ) ) {
   // see @link above to set your own timezone
   date_default_timezone_set( "EUROPE/LONDON" );
 }

 // set the level of error reporting
 if ( defined( 'E_DEPRECATED' ) ) {
   error_reporting( E_ALL & ~E_NOTICE & ~E_DEPRECATED );
 } else error_reporting( E_ALL & ~E_NOTICE );

Good idea!

Posted

Fatal error: Cannot re-assign $this in /hsphere/local/home/silence0/rockshop.no/admin/includes/classes/upload.php on line 31

 

Classic. Haven't upgraded your shop in years obviously.

 

For the timezone: see this post. Obviously, you will have to use a different timezone there.

 

Thanks a lot to all of you! I uploaded a vanilla "upload.php" file in /classes/ and that did the trick. Now the admin is working as normal again *phewh*, and yes.. it's an old install.. 4-5 years so I really should upgrade :)

Posted

Thanks a lot to all of you! I uploaded a vanilla "upload.php" file in /classes/ and that did the trick. Now the admin is working as normal again *phewh*, and yes.. it's an old install.. 4-5 years so I really should upgrade :)

 

Don't forget to set error reporting back to standard.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...