saveSchemer() fails, get blank page.

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemesaveSchemer() fails, get blank page.

This topic has been marked as resolved.

I’m upgrading a client’s OpenCart, and at the same time installing Shoppica 2. Everything works fine, except for saving the schemer. Hitting Save simply sends me to /index.php?route=tb/saveSchemer, where it’s a dead stop with a blank white page.

I dug around a bit, and traced the problem to this part (in /tb_themes/shoppica2/catalog/controller/TbController.php)


$session_data = $this->registry->get('session')->data;
    
if (isset($session_data['color_schemer_auth_hash'])) {
  ...success code...
} else {
  //Added line to tell me where it fails
  echo "<h1>sessdata missing</h1>";

  $settingModel->deleteScopeSettings('color_schemer_auth');

  return false;
}

I ran a print_r on $session_data, which gave me this:


Array ( [language] => se [currency] => SEK [cart] => Array ( ) ) 

So, the issue seems to be that $session_data['color_schemer_auth_hash'] is missing. This project is already running late so I’m in a bit of a hurry.

I’ve searched around for solutions to this issue like a madman, but to no avail, so I’m in dire need of help.

Thanks.

  • This reply was modified 4037 days ago by  jbnmedia.
  • This reply was modified 4037 days ago by  jbnmedia.
April 30, 2013 at 12:42 pm #22719

@jbnmedia, your issue seem to be very strange one. The $session_data['color_schemer_auth_hash'] is set in class Theme_Catalog_SchemerBarPlugin when you are redirected to the fron end, after you hit ‘Launch Color Schemer’ button in the admin area. Actually, if it is not set, the color schemer shouldn’t appear at all.

We can’t think of a possible solution without seeing what’s going on your server. We’d need FTP access.

Regards,
ThemeBurn team

May 7, 2013 at 4:34 pm #22915

Oh crap. I forgot about this thread. Someone else is currently working on the shop, there were some other issues unrelated to Shoppica2, but he’ll be done soon, then I can give you FTP access.

May 15, 2013 at 10:21 am #23194

Alright, he’s done now. I hope this thread didn’t die because I didn’t reply at first.

  • This reply was modified 4021 days ago by  jbnmedia.
May 16, 2013 at 12:28 pm #23248
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
May 18, 2013 at 1:38 pm #23330

I see. Thank you!

May 20, 2013 at 11:05 am #23362

You are welcome, mate :)

Best,
ThemeBurn team

May 21, 2013 at 5:47 pm #23408
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.