WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
[Plugin: WP e-Commerce] Moving URL, lots of problems... (2 posts)

  1. sonic1243
    Member
    Posted 2 years ago #

    Hi, thankfully I'm only testing, having moved a WPEC site from one domain name to another; and a different path as well, lots of problems...

    Moving from website1.com/shop to website2.com/test.

    WordPress itself seams fine, but the WPEC has problems straight away as a result of hard-coded absolute URLs. Is there something I should know? Any additional instructions when backing up a WP site that has WPEC on it? I'm happy to start from scratch rather than address this mess below:

    Firstly, the wpsc-default.css was being pulled from the old website, website1.com was calling the stylesheet from website2.com; and it got the default version instead of my moved theme version.

    I've hacked at the SQL replacing the old paths with the new ones and now I have major issues with all the images not showing or being the full-size versions; and when looking in the rendered html I can see a failure message:

    src="<br />
    <b>Warning</b>:  array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in <b>/home/broad/public_html/test/wp-content/plugins/wp-e-commerce/wpsc-includes/product-template.php</b> on line <b>1193</b><br />
    http://www.website1.com/image.jpg">

    Yes, I changed the GUID column in the posts table to the new URLs.

    The procedure I started with was: Install a new WP on a new site, upload and overwrite all files, overwrite SQL db.

    My head hurts .. what's going on exactly? Thanks ...

  2. gordo.erin
    Member
    Posted 1 year ago #

    I had to reconfigure my Apache settings. Images showed up. Of course then the resizing doesn't work, on only the default image. Working on a fix.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic