Jump to content

Upgrade Step 3 HALT ! Firefox Bug Console Report Included. PLEASE HELP!


Recommended Posts

Hey Guys please help after many posts with regards of SSL problems I have finnally decided to upgrade and what a pain this is becoming. I will try and give you as much information as possible to help me resolve this problem.

Im trying to install the latest version using the upgrade method the way I am doing this and correct me if im doing anything wrong please.

My current install is 1.1.0.5 installed to path root of www.example.com/ the way I have tried to upgrade is this.

Copy all files/folders from the root / to /prestaOLD/ also have tried /prestashop_old/ .
I have uploaded the final version of the new release to /prestashop/

Have copied all custom imgs/mails/modules to /prestashop/

Instead of upgrading the orginal database I have duped it, keeping the old prestashop online the way I have done this is
i have created a new database database2_ with the same prefexs but different user logins just incase of deleteing the working shop. I have updated settings inc php to reflex these changes in /prestashop_old/ and /prestashop/ I have also told it the new location from "/" to "prestashop".

I have CHMOD of img/mails/config/tools/translations/sitemap.xml/themes/upload/download to there proper settings which reports ok.

The part which is its halting on is step 3 when I click Next
Firefox console

log part 1
http://www.example.com/prestashop/install/model.php?method=checkConfig 200 OK



























Log Part 2
http://www.example.com/prestashop/install/model.php?_=1250618697083&method=doUpgrade 200 OK

Duplicate entry '11' for key 1

/* ##################################### */
/*                     CONTENTS                     */
/* ##################################### */

INSERT INTO `presta_order_state` (`id_order_state`, `invoice`, `send_email`, `color`, `unremovable`, `logable`, `delivery`) VALUES
   (11, 0, 0, 'lightblue', 1, 0, 0)



Log Part 3 - The HALT!

uncaught exception: [Exception... "Could not convert JavaScript argument arg 0"  nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)"  location: "JS frame :: http://www.example.com/prestashop/js/jquery/jquery-1.2.6.pack.js :: anonymous :: line 11"  data: no]

Line 0

Link to comment
Share on other sites

Going to see if the install works on another webhost provider and see if its anything to do with the way the server process's javascripts.

BTW is there plans to stepup the support for the english section of prestashop? Not bitching but alot of us put alot of faith and donates into prestashop and well the support is abit lacking. I know its a opensource free e-commence project so I expect some what delays in replys but I have made such other posts and be made to feel like im being ignored I hope this is the not the case as I love prestashop, But I may need to switch to e-cart and put some wallet into support.

Link to comment
Share on other sites

I had major problems upgrading from version 1.0.0.8 to version 1.2.1.0.

It seems there is a bug in the installation script and the way errors are handled in controller.js so problems aren't reported properly.

I used Firebug to debug the SQL statements that failed and discovered 3 problems in my upgrade:

INSERT INTO `PREFIX_order_state` (`id_order_state`, `invoice`, `send_email`, `color`, `unremovable`, `logable`, `delivery`) VALUES
   (11, 0, 0, 'lightblue', 1, 0, 0);
ALTER TABLE ps_newsletter ADD `http_referer` VARCHAR(255) NULL
INSERT INTO PREFIX_hook (`name`, `title`, `description`, `position`) VALUES
   ('postUpdateOrderStatus', 'Post update of order status', NULL, 0);



I changed the 3 files install/php/blocknewsletter.php, install/sql/upgrade/1.2.0.1.sql and install/sql/upgrade/1.2.0.3.sql to get around the problems. I have attached a zip file which may help you out.

/Kjeld

install.zip

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...