southatneil Posted May 12, 2012 Share Posted May 12, 2012 Hi We moved our site to a new server and we are now getting nothing in the admin apart from the right menu but when you click on any link there content is blank, the site is working fine on front end, just we can't see any orders or modifly products as the admin is blank. We put error log on strict and has these errors, any help will be great. Notice: Constant DIR_WS_ADMIN already defined in /home/dirtchea/public_html/admin/includes/application_top.php on line 43 Notice: Constant FILENAME_ORDERS_STATUS already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 106 Notice: Constant FILENAME_CREATE_ORDERS_ADMIN already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 109 Notice: Constant FILENAME_EDIT_ORDERS already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 126 Notice: Constant FILENAME_FROOGLE_ADMIN already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 168 Notice: Constant FILENAME_CREATE_ORDERS_PAY already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 198 Notice: Constant FILENAME_CREATE_ORDERS_SHIP already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 199 Notice: Constant FILENAME_FAQ_MANAGER already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 203 Notice: Constant FILENAME_STATS_DAILY_SALES_REPORT already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 243 Notice: Constant FILENAME_CRYPT already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 266 Notice: Constant FILENAME_CRYPT_TEST already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 267 Notice: Constant FILENAME_CRYPT_CONVERT already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 269 Notice: Constant FILENAME_PRODUCTS_EXTRA_FIELDS already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 273 Notice: Constant FILENAME_STATS_PRODUCTS_NOTIFICATIONS already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 286 Notice: Constant FILENAME_EASYPOPULATE_OPTIONS_EXPORT already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 290 Notice: Constant FILENAME_EASYPOPULATE_OPTIONS_IMPORT already defined in /home/dirtchea/public_html/admin/includes/filenames.php on line 291 Notice: Constant EMAIL_AREA_WYSIWYG_HEIGHT already defined in /home/dirtchea/public_html/admin/includes/application_top.php on line 91 Notice: Constant DEFINE_MAINPAGE_WYSIWYG_WIDTH already defined in /home/dirtchea/public_html/admin/includes/application_top.php on line 91 Notice: Constant DEFINE_MAINPAGE_WYSIWYG_HEIGHT already defined in /home/dirtchea/public_html/admin/includes/application_top.php on line 91 Notice: Constant MODULE_PAYMENT_PAYFLOWPRO_PROXY_PASSWORD already defined in /home/dirtchea/public_html/admin/includes/application_top.php on line 91 Link to comment Share on other sites More sharing options...
MrPhil Posted May 12, 2012 Share Posted May 12, 2012 You appear to have a heavily modified application_top.php file, as the line numbers don't match up with mine. Check to see if you are includeing "configure.php" multiple times in your application_top. That file should be included only once (regular admin/includes/ or special admin/includes/local/ version). Check to see if your code has been modified to both define certain constants hard coded in application_top and include the configure.php file. Maybe your previous PHP version let you get away with something like that, and your new one is stricter. Whatever the cause, for some reason it appears that you are defineing a number of constants at least twice. By any chance are you now running on PHP 5.4? I haven't seen any reports of this problem up through PHP 5.3, but it sounds anyway like there's something strange in the multiple defines. By the way, this is an inappropriate category. You should be reporting this under 2.x support, either General Support or Installation and Configuration. I hope you're not on osC 3.x, as you shouldn't be using that level. Link to comment Share on other sites More sharing options...
Guest Posted May 12, 2012 Share Posted May 12, 2012 @@southatneil Just as a side note: You are using a CRE loaded version of osCommerce which is not supported on this forum. You should refer to the CRE forum for best advice. Chris Link to comment Share on other sites More sharing options...
southatneil Posted May 14, 2012 Author Share Posted May 14, 2012 Thanks for you help, sorry about wrong forum and category :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.