Jump to content

Upgrade to 6.4.10 Problem


Claudia

Recommended Posts

I upgraded to 6.4.10 and all went fine.  Could see my admin and storefront - even custom skins.  I knew I had to still update my admin/sources files to match my custom admin skin. When I cleared my cache in admin everything disappeared.  White screen in admin and store front.  I have tried reinstalling with and without my custom files and still get the white screens. My error log in cpanel is Huge!! from this and before.  He are some from today.  What should I do?

 

[24-Feb-2023 15:00:12 America/Louisville] PHP Warning:  Undefined array key "_g" in /home/xxxxx/public_html/classes/ssl.class.php on line 39

 

[24-Feb-2023 19:29:15 UTC] PHP Warning:  Undefined array key "ADMIN_URL" in /home/xxxxx/public_html/cache/skin/26680caf5441a1ba00cf28d03267ef60abd0b2db_0.file.skin.install.php.php on line 350

[24-Feb-2023 19:29:15 UTC] PHP Warning:  Attempt to read property "value" on null in /home/xxxxx/public_html/cache/skin/26680caf5441a1ba00cf28d03267ef60abd0b2db_0.file.skin.install.php.php on line 350

[24-Feb-2023 19:29:15 UTC] PHP Warning:  Undefined array key "ADMIN_URL" in /home/xxxxx/public_html/cache/skin/26680caf5441a1ba00cf28d03267ef60abd0b2db_0.file.skin.install.php.php on line 351

[24-Feb-2023 19:29:15 UTC] PHP Warning:  Attempt to read property "value" on null in /home/xxxxx/public_html/cache/skin/26680caf5441a1ba00cf28d03267ef60abd0b2db_0.file.skin.install.php.php on line 351

[24-Feb-2023 19:29:15 UTC] PHP Warning:  Undefined array key "STORE_URL" in /home/xxxxx/public_html/cache/skin/26680caf5441a1ba00cf28d03267ef60abd0b2db_0.file.skin.install.php.php on line 357

[24-Feb-2023 19:29:15 UTC] PHP Warning:  Attempt to read property "value" on null in /home/xxxxx/public_html/cache/skin/26680caf5441a1ba00cf28d03267ef60abd0b2db_0.file.skin.install.php.php on line 357

[24-Feb-2023 19:29:15 UTC] PHP Warning:  Undefined array key "STORE_URL" in /home/xxxxx/public_html/cache/skin/26680caf5441a1ba00cf28d03267ef60abd0b2db_0.file.skin.install.php.php on line 358

[24-Feb-2023 19:29:15 UTC] PHP Warning:  Attempt to read property "value" on null in /home/xxxxx/public_html/cache/skin/26680caf5441a1ba00cf28d03267ef60abd0b2db_0.file.skin.install.php.php on line 358

[24-Feb-2023 19:29:55 UTC] PHP Warning:  Undefined array key "ADMIN_URL" in /home/xxxxx/public_html/cache/skin/26680caf5441a1ba00cf28d03267ef60abd0b2db_0.file.skin.install.php.php on line 350

 

 

 

[24-Feb-2023 12:26:12 America/Louisville] PHP Warning:  Undefined array key "HTTP_USER_AGENT" in /home/xxxxx/public_html/classes/session.class.php on line 676

[24-Feb-2023 12:26:12 America/Louisville] PHP Warning:  Undefined array key "HTTP_USER_AGENT" in /home/xxxxx/public_html/classes/session.class.php on line 676

[24-Feb-2023 12:26:12 America/Louisville] PHP Warning:  Undefined array key "HTTP_USER_AGENT" in /home/xxxxx/public_html/classes/session.class.php on line 676

[24-Feb-2023 12:26:12 America/Louisville] PHP Warning:  Undefined array key "HTTP_USER_AGENT" in /home/xxxxx/public_html/classes/session.class.php on line 676

Link to comment
Share on other sites

No PHP Fatal Errors that I can see

I also got a lot of these but I thought it was because I didn't leave a space in the config file.  I fixed that.   quality="80"default to  quality="80" default

[24-Feb-2023 12:40:09 America/Louisville] PHP Warning:  SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]
Entity: line 62: parser error : attributes construct error in /home/cambarga/public_html/classes/gui.class.php on line 613
[24-Feb-2023 12:41:41 America/Louisville] PHP Warning:  SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: 	&lt;image reference=&quot;large&quot; maximum=&quot;600&quot; quality=&quot;80&quot;default=&quot;noimage.png&quot; /&gt; in /home/xxxxxx/public_html/classes/gui.class.php on line 613
Link to comment
Share on other sites

Yes, that mistake in a skin's config.xml file would cause both the storefront and admin backend to have a Fatal Error.

As an experiment, I edited a skin's config.xml file to resemble what you found:

[24-Feb-2023 13:44:45 America/Los_Angeles] PHP Fatal error:  [Exception] 	/media/Stuff/inetpub/CubeCart6.4.10/classes/gui.class.php:613 - String could not be parsed as XML
[24-Feb-2023 13:44:45 America/Los_Angeles] PHP Stack trace:
[24-Feb-2023 13:44:45 America/Los_Angeles] PHP   1. Debug->exceptionHandler($e = class Exception { protected $message = 'String could not be parsed as XML'; private string $string = ''; protected $code = 0; protected string $file = '/media/Stuff/inetpub/CubeCart6.4.10/classes/gui.class.php'; protected int $line = 613; private array $trace = [0 => ['file' => '/media/Stuff/inetpub/CubeCart6.4.10/classes/gui.class.php', 'line' => 613, 'function' => '__construct', 'class' => 'SimpleXMLElement', 'type' => '->'], 1 => ['file' => '/media/Stuff/inetpub/CubeCart6.4.10/classes/gui.class.php', 'line' => 630, 'function' => 'getSkinConfig', 'class' => 'GUI', 'type' => '->'], 2 => ['file' => '/media/Stuff/inetpub/CubeCart6.4.10/classes/gui.class.php', 'line' => 110, 'function' => 'listSkins', 'class' => 'GUI', 'type' => '->'], 3 => ['file' => '/media/Stuff/inetpub/CubeCart6.4.10/classes/gui.class.php', 'line' => 273, 'function' => '__construct', 'class' => 'GUI', 'type' => '->'], 4 => ['file' => '/media/Stuff/inetpub/CubeCart6.4.10/controllers/controller.admin.pre_session.inc.php', 'line' => 48, 'function' => 'getInstance', 'class' => 'GUI', 'type' => '::'], 5 => ['file' => '/media/Stuff/inetpub/CubeCart6.4.10/admin.php', 'line' => 34, 'args' => [0 => '/media/Stuff/inetpub/CubeCart6.4.10/controllers/controller.admin.pre_session.inc.php'], 'function' => 'include']]; private ?Throwable $previous = NULL;
[24-Feb-2023 13:44:45 America/Los_Angeles] PHP   2. trigger_error($message = '[<strong>Exception</strong>] \t/media/Stuff/inetpub/CubeCart6.4.10/classes/gui.class.php:613 - String could not be parsed as XML', $error_level = 256)

 

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.   Paste as plain text instead

  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.

×
×
  • Create New...