close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Script error

Thread began 2/09/2011 1:17 am by shauqie | Last modified 2/14/2011 4:46 pm by shauqie | 2007 views | 17 replies

neilo

Hiya,

One thing to think about before going much further is, - do you want the store to continue to be in a folder in your site root called 'public_html/'? If you want people to see your store 'home' page when they type in your URL (twins-asia.com/) they will get a 404 (Page not found) error unless you are planning on having a different site homepage that links to your store public_html/index.php, or unless you create a blank index page that automatically re-directs to it.

Before you went through the set-up procedure, did you upload a clean set of the PowerStore files (from your download center), or did you upload all of the files and folders saved from your previous install?

It seems that you may have downloaded the 'public_html' folder from your previous install on the old server, and uploaded that directory directly into the root directory on your new sever (the WA_Store_Cart_PHP.php file that you posted has all the shipping rules (which contain the errors) set up already).

If that is the case, I think it would be worth doing a clean install of the files and folders to the root directory of your remote site to both resolve the proper home page for the store, and to have the set-up procedure create fresh eCart files without errors. You would need to redo the shipping rules again, but that would be worth it to have everything working.

If it were me, I would:

  1. Save the database. Go to the remote database phpMyAdmin, select the store database, and export it to a zip or gzip archive.
  2. Still in phpMyAdmin, empty the database of tables. (Select your store database, tick the check all box, select 'Drop' from the 'with selected' drop-down list)
  3. Upload a fresh copy of the PowerStore files and folders directly into the root directory of your remote site.
  4. Run the install wizard again by browsing to twins-asia.com
  5. Once the default install has completed, go back to remote server database phpMyAdmin, select your store database, and delete or rename the tables.
  6. When the database is empty - or the tables have been renamed - with the database still selected, click 'Import'. In 'File to import', browse to the zip or gzip of your previously exported good database, and press 'go' at the bottom right of that section.



If everything checks out ok, you can then remove the extraneous 'public_html' folder from inside the root directory of your remote site. Be careful not to delete a lower-level 'public_html' folder, if one exists.

That should give you an entirely clean install, with everything where it should be and error-free files.

That is what I would do (as I have done before). If you prefer, you can wait for a WA tech or expert to add to this or suggest an alternative method.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...