• Actually using 3.03, with an Atahualpa theme …

    I recently installed WP e-commerce but I don’t think this issue is specific to that plugin.

    A while ago I migrated my WP site across to a new server. Everything has been working fine, all pointing to the right place UNTIL I install WP e-commerce, and am now (when I try to activate the plugin) getting an error message that suggests SOMETHING (but I don’t know what or where to find it) is pointing to the old server instead of the new.

    One of the dozens of errors (all similar in various respects) says:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/keyword/public_html/real/wp-content/uploads/2010/12) is not within the allowed path(s): (/var/users:/tmp:/usr/share/pear:/usr/lib/php:/var/www/html:/usr/local/apache-custs) in /var/users/username/domainname.com/htdocs/wp-includes/functions.php on line 2028

    /home/keyword/public_html/real/wp-content/uploads/2010/12 is the path to the site on my old server

    /var/users/username/domainname.com/htdocs/ is the path to the domain on my new server

    Help!

    When I installed WP e-commerce, there was nothing asking for the name of the server; it’s just a plugin and it didn’t ask for such details.

    However, as it tries to work (when I activate it), it looks like it’s searching for those directions (where to upload the shopping cart, or whatever it’s trying to do) within my existing WP site and somehow I have something that I have forgotten to change but that doesn’t affect the usual running of WP.

    I’ve checked wp-config and several other files (all that I can think of), just opening them and doing a search for one of the words in the old server path but have turned up nothing.

    Then I went into my SQL5 database and ran a search there. It turned up a wp_options table within my database that has two occurrences of the old path. Is this a likely culprit? And if so, how do I edit this? There’s an edit button for the table within the database, so I tried to change the one instance I found. It hasn’t eliminated the error. And I don’t *really* know exactly what I’m doing.

    Any ideas??

    Is there any way I can run a search on the code within the site for a key word within the path? If I could just figure out where the dud pointer was I am guessing it’s fixable.

    Any ideas MUCH appreciated!!

Viewing 1 replies (of 1 total)
  • Changing the path in the database should solve it in most cases. You can click edit link in phpMyAdmin (or whatever DB Admin tool you are using) and change the path there. Make sure you put it in correctly with proper slashes.

    Try with that and let me know how it goes.

    :Nirav

Viewing 1 replies (of 1 total)
  • The topic ‘Wrong path remaining after server move => WP e-commerce returning error’ is closed to new replies.