Issue with trying to 'Add new'

CJ!

New member
I have just done a fresh install of Prestashop 1.5.3.1 and after following the WebRotate360 installation instructions for the free version when I go to Catalog > WebRotate360 to test it, I cannot Add New. When I click on Add New all I get is a blank screen. I had the same issue when I tried to install it with 1.5.2.0 for testing. Any suggestios?
 

CJ!

New member
I have tried reinstalling it with no success. I have installed it on another site with another hosting provider and it works so I am wondering if there is a server configuration issue. I have had to create a php.ini file to overcome a sohusin issue.
 

CJ!

New member
Server information
Server information: Linux #1 SMP Wed Jul 11 06:49:35 EDT 2012 x86_64
Server software version: LiteSpeed
PHP version: 5.3.17
Memory limit: 128M
Max execution time: 30

Database information
MySQL version: 5.0.77
MySQL engine: InnoDB

Store information
Prestashop version: 1.5.3.1
 

WebSupport

Active member
Hi CJ and sorry to hear about the issue. It's the first time we hear about something like this.

Do both of your test hosting providers use LiteSpeed web server? We only tested it on Apache so I wonder if this is in any way related. We would be happy to investigate it further if you would be willing to send us your test prestashop / ftp login for the server where you reproduce the issue. You can send it to support at webrotate360 dot com.
 

CJ!

New member
Thanks for the reply. The other host is running Apache. I will email you the access details.
 

ebarluzzi

New member
Hello support,
I found the same issue with "add new" button ... blank page appears! (webrotate360 is running on PS 1.5.4.0)
Please could you share the resolution above? Many thanks
 

ebarluzzi

New member
First of all, thank you very much for your kindly support!

Unfortunately nothing has happened (I followed your instructions copy/paste) and always blank page appears when I press + Add new function.

I saw the first 4 rows changed (AdminWebRotate360.php) comparing the previous file and last one. I also tried to insert at row 13 --> $this->controller_type = 'admin'; --> with no effect!!

I dont't know and tomorrow I'm going to test with another environment just to have a different comparison.

From you side, do you have an idea?

Thanks in advance :)
 

ebarluzzi

New member
Hi, as promised I've tested with another environment (see belove) but it's the same result :?

Informazioni sul server: Linux #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64
Versione software server: Apache/2.4.4 (Unix) OpenSSL/0.9.8e-fips-rhel5 PHP/5.3.23
Versione di PHP: 5.3.23
Limite memoria: 128M
Tempo di esecuzione massimo: 30

Informazioni datatbase
Versione di MySQL: 5.0.95
Motore MySQL: InnoDB
Prefisso Tavole: ps_
 

WebSupport

Active member
Hi! Clean 1.5.4 works with this fix out-of-the-box - not sure why this happens with your setup yet. Please send us your temp ftp / admin login to support at webrotate360 dot com so we could investigate, otherwise it's hard to say...
 

garethrens

New member
Hi

Firstly thanks for an awesome addon :)

I seem to be having an issue with presta 1.5.4.1

I had it working beautifully in a previous version... I always get caught with the "look how shiny the new version is" trap...

Anyway, i tried the fixes that were detailed in the previous posts, but to no avail.

When I tried a direct copy and paste with the php file that was suggested. I get the following chrome console error and a blank page:

Code:
GET http://localhost/stuff/prestashop/admin0389/index.php?controller=AdminWebRotate360&token=bd450e9c8a10d8dc9ff2b91dd78c6aa7 500 (Internal Server Error) index.php?controller=AdminWebRotate360&token=bd450e9c8a10d8dc9ff2b91dd78c6aa7:1

So I had a look at the file and noticed the downloaded one differs from the old one, obviously.
However on the include once line there is
Code:
_PS_ADMIN_DIR_
whereas the original has
Code:
PS_ADMIN_DIR

I changed it accordingly and i no longer get the above error, now i get a slightly different but similar error:
Code:
GET http://localhost/stuff/prestashop/admin0389/index.php?controller=AdminWebRotate360&addwebrotate360&token=bd450e9c8a10d8dc9ff2b91dd78c6aa7 500 (Internal Server Error) /stuff/prestashop/admin0389/index.php?controller=AdminWebRotate360&addwebrotate360&token=bd450e9c8a10d8dc9ff2b91dd78c6aa7:1

Any ideas?

Thanks

G:)
 

WebSupport

Active member
Hi Gareth, thanks for bringing this issue to us. I think we tested it on 1.5.4.1 but will retest on our Monday PST and confirm..

Quick question, is your Prestashop all English or do you have a different language when you login in the admin (as we've seen some correlation between this issue and the admin account language before)?
 

rysiu

New member
I have the same problem.

I can see a Fatal Error (Cannot redeclare class ProductCore) in my PHP log pressing "Add new"

Code:
PHP Fatal error:  Cannot redeclare class ProductCore in C:\\UwAmp\\test.com\\classes\\Product.php on line 5279, referer: http://test.com/admin1/index.php?controller=AdminWebRotate360&token=fc6d9afbb916a002027bb576f462c3a0

PHP Stack trace:, referer: http://test.com/admin1/index.php?controller=AdminWebRotate360&token=fc6d9afbb916a002027bb576f462c3a0

PHP   1. {main}() C:\\UwAmp\\test.com\\admin1\\index.php:0, referer: http://test.com/admin1/index.php?controller=AdminWebRotate360&token=fc6d9afbb916a002027bb576f462c3a0

PHP   2. DispatcherCore->dispatch() C:\\UwAmp\\test.com\\admin1\\index.php:50, referer: http://test.com/admin1/index.php?controller=AdminWebRotate360&token=fc6d9afbb916a002027bb576f462c3a0

PHP   3. runAdminTab() C:\\UwAmp\\test.com\\classes\\Dispatcher.php:329, referer: http://test.com/admin1/index.php?controller=AdminWebRotate360&token=fc6d9afbb916a002027bb576f462c3a0

PHP   4. AdminTabCore->display() C:\\UwAmp\\test.com\\admin1\\functions.php:531, referer: http://test.com/admin1/index.php?controller=AdminWebRotate360&token=fc6d9afbb916a002027bb576f462c3a0

PHP   5. AdminWebRotate360->displayForm() C:\\UwAmp\\test.com\\classes\\AdminTab.php:283, referer: http://test.com/admin1/index.php?controller=AdminWebRotate360&token=fc6d9afbb916a002027bb576f462c3a0

PHP   6. ProductCore::getProducts() C:\\UwAmp\\test.com\\admin1\\tabs\\AdminWebRotate360.php:39, referer: http://test.com/admin1/index.php?controller=AdminWebRotate360&token=fc6d9afbb916a002027bb576f462c3a0

PHP   7. Autoload->load() C:\\UwAmp\\test.com\\admin1\\tabs\\AdminWebRotate360.php:0, referer: http://test.com/admin1/index.php?controller=AdminWebRotate360&token=fc6d9afbb916a002027bb576f462c3a0

Can you help me?

Thanks
 

WebSupport

Active member
Hi Folks, looks like 1.5.4.1 broke a few things (Prestashop guys keep improving their architecture with each release, which is good!), so we had to make a couple of changes to AdminWebRotate360.php. The rest is fine...

Please find updated AdminWebRotate360.php in this zip:

http://www.webrotate360.com/360_integra ... .5.4.1.zip

Just overwrite the one you have under your admin/tabs folder. It then works fine for us on a clean 1.5.4.1 install.

Please confirm :cool:
 

rysiu

New member
The fix worked perfectly (In Prestashop 1.5.4.1). Now I can add new animations without problem.

Thanks
 

rysiu

New member
Hello again,

I am back to the issue of 360 products view.
I'm trying to prestashop 1.5.6.0, but it still fails:

A blank screen appears when: Catalog -> WebRotate360 -> Addnew

I tested with the original "AdminWebRotate360.php" file and with the fix file 1.5.4.1, and none worked

can you help?

Thanks
 

WebSupport

Active member
Hi, it appears to be a simple cache refresh issue and is due to the resent changes in 1.5.6 related to the class index.

So after you install our module in 1.5.6, delete the following file (you may want to save a copy just in case but it looks like the files is designed to be auto-created regardless so nobody should be writing there directly):

/cache/class_index.php

Once deleted, the Add New option will start working again (class_index.php will be auto created also with the reference to our class which is missing in this file otherwise).

Tested on a fresh copy of 1.5.6.
 
Top