CKinCOS Posted January 15, 2014 Posted January 15, 2014 So because things weren't working properly I went ahead and upgraded to v2.3.3.4, and now I've got broken stuff! For starters I can't get into my Admin, just a blank page. No error message. I tried editing application top with error_reporting(E_ALL & E_NOTICE ); ini_set('display_errors','1'); both in the /includes and /admin/includes to try to turn it on, it isn't working and I don't know where to start. Also, on the main part of the site, all of my boxes are gone, and it just displays some crappy text!? Please help! CK
MrPhil Posted January 15, 2014 Posted January 15, 2014 I hope you installed 2.3.3.4 in a /test or /dev directory, and didn't wipe out your live shop! A blank page usually means a fatal PHP error. Normally PHP will drop error_log (or similar) files in the directory of the .php script that blew up. You may also find something in your hosting control panel error log. Take a look around -- there's bound to be something telling you what went wrong.
CKinCOS Posted January 15, 2014 Author Posted January 15, 2014 Finally got error reporting to work. Notice: Constant MODULE_ACTION_RECORDER_RESET_PASSWORD_MINUTES already defined in ***/admin/includes/application_top.php on line 71 Notice: Constant MODULE_ACTION_RECORDER_RESET_PASSWORD_ATTEMPTS already defined in ***admin/includes/application_top.php on line 71 Notice: Constant MODULE_HEADER_TAGS_ROBOT_NOINDEX_STATUS already defined in admin/includes/application_top.php on line 71 Notice: Constant MODULE_HEADER_TAGS_ROBOT_NOINDEX_PAGES already defined in admin/includes/application_top.php on line 71 Notice: Constant MODULE_HEADER_TAGS_ROBOT_NOINDEX_SORT_ORDER already defined in admin/includes/application_top.php on line 71 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at ***/admin/includes/application_top.php:71) in ***admin/includes/functions/sessions.php on line 104 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at ***admin/includes/application_top.php:71) in ***admin/includes/functions/sessions.php on line 104 Notice: Use of undefined constant ‘language’ - assumed '‘language’' in ***/admin/includes/application_top.php on line 110 Warning: Cannot modify header information - headers already sent by (output started at***/admin/includes/application_top.php:71) in ***/admin/includes/functions/general.php on line 38
MrPhil Posted January 15, 2014 Posted January 15, 2014 The "already defined" errors mean that you copied some defines into application_top.php that you shouldn't have. They are defined in some other file that is now being brought in. Once you fix those, the "headers already sent" errors should go away. No idea what you did to cause the undefined constant error. Check if maybe you used Word or Outlook to edit something, and ended up replacing ASCII quotes ' or quotation marks " with MS Smart Quotes ("curved" ' and "). If not, did you forget the $ in $language when doing some editing?
CKinCOS Posted January 15, 2014 Author Posted January 15, 2014 I pretty much just went down the list from the OSC library, and copy pasted line by line, since I have no real editing ability.
MrPhil Posted January 16, 2014 Posted January 16, 2014 You've got 5 constants defined in two places (application_top.php and somewhere else) -- you'll have to remove one of them. Check application_top.php around line 110 to see if you dropped a $ from $language while pasting in code.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.