dusty108 Posted January 7, 2010 Posted January 7, 2010 V2.2 RC2 Chemo's SEO installed Moved my site from one host to another because of pricing/service issues. I downloaded all oscommerce files from my folder on the old site to my computer and then uploaded to a folder /hpttdocs as instructed by new host. I created a new database uploaded the info from db file that I had downloaded from old host. I then edited includes/configure.php and admin/includes/configure.php to reflect path changes and db name and password changes. Thats it I thought but unfortunately storefront only shows index page will not show items listed. Only gives the following: Not Found The requested document was not found on this server. /login.php has the following on the page: Warning: require_once(var/www/vhosts/landnsea.co.uk//includes/languages/english/modules/payment/googlecheckout.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/landnsea.co.uk/httpdocs/includes/modules/payment/googlecheckout.php on line 43 Fatal error: require_once() [function.require]: Failed opening required 'var/www/vhosts/landnsea.co.uk//includes/languages/english/modules/payment/googlecheckout.php' (include_path='/usr/share/pear:.') in /var/www/vhosts/landnsea.co.uk/httpdocs/includes/modules/payment/googlecheckout.php on line 43 On the admin side of things, I can login and lot of the pages load. However tools for example brings up the following: Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/vhosts/landnsea.co.uk/admin/backups/) is not within the allowed path(s): (/var/www/vhosts/landnsea.co.uk/httpdocs:/tmp:/usr/share/pear:/nonexec) in /var/www/vhosts/landnsea.co.uk/httpdocs/admin/backup.php on line 319 Error: Backup directory does not exist. Please set this in configure.php. I would be most grateful for any assistance. I am a shopkeeper not a programmer so simple explanations would be appreciated Thanks
♥mdtaylorlrim Posted January 7, 2010 Posted January 7, 2010 In your configure.php files is this line correct? define('DIR_FS_CATALOG', '/var/www/vhosts/landnsea.co.uk/httpdocs'); See the problem in the error? var/www/vhosts/landnsea.co.uk//includes/languages/english/modules/payment/googlecheckout.php Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
Jack_mcs Posted January 7, 2010 Posted January 7, 2010 The errors are saying files are missing. Sometimes files are not all transferred when moving a site so you need to check that the files are there (is there a login.php file in the root?). It could also be your configure file is not setup correctly. If the files are there, then copy your configure file here without the database information at the bottom of it. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
dusty108 Posted January 7, 2010 Author Posted January 7, 2010 Mark, I tried your suggestion define('DIR_FS_CATALOG', '/var/www/vhosts/landnsea.co.uk/httpdocs'); it made no difference Jack All the files seem to be there. Any more suggestions? Do you think its possible that the problem lies with config files or is it possible the files uploaded were corrupted?
dusty108 Posted January 7, 2010 Author Posted January 7, 2010 This is the current includes/configure.php file: <?php define('HTTP_SERVER', 'http://www.landnsea.co.uk'); define('HTTPS_SERVER', 'http://www.landnsea.co.uk'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.landnsea.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'www.landnsea.co.uk'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', 'var/www/vhosts/landnsea.co.uk/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'xxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'landnsea_'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> The admin/includes/configure.php is as follows: <?php define('HTTP_SERVER', 'http://www.landnsea.co.uk'); define('HTTP_CATALOG_SERVER', 'http://www.landnsea.co.uk'); define('HTTPS_CATALOG_SERVER', 'http://www.landnsea.co.uk'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/var/www/vhosts/landnsea.co.uk/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/var/www/vhosts/landnsea.co.uk/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/var/www/vhosts/landnsea.co.uk/landnsea/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'xxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'landnsea_'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> My URL is www.landnsea.co.uk if you would care to take a look at what is happening on the storefront side. Tom
♥mdtaylorlrim Posted January 7, 2010 Posted January 7, 2010 Any more suggestions? Do you think its possible that the problem lies with config files or is it possible the files uploaded were corrupted? Yes, look at the URL in you error message. You have a double slash in the middle of the URL and it does not match your store path. => /landnsea.co.uk//includes/ See the double slash? That's probably your problem, now just figure out what is causing it. This line => define('DIR_FS_CATALOG', 'var/www/vhosts/landnsea.co.uk/'); has to have the httpdocs in it. This line => define('DIR_FS_ADMIN', '/var/www/vhosts/landnsea.co.uk/admin/'); has to have it too Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
dusty108 Posted January 7, 2010 Author Posted January 7, 2010 Mark The error that shows now on the account login page(www.landnsea.co.uk/login.php)is as follows: Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/vhosts/landnsea.co.uk/httpdocsincludes/modules/shipping/) is not within the allowed path(s): (/var/www/vhosts/landnsea.co.uk/httpdocs:/tmp:/usr/share/pear:/nonexec) in /var/www/vhosts/landnsea.co.uk/httpdocs/googlecheckout/gcheckout.php on line 314 Thanks Tom
♥mdtaylorlrim Posted January 7, 2010 Posted January 7, 2010 Mark The error that shows now on the account login page(www.landnsea.co.uk/login.php)is as follows: Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/vhosts/landnsea.co.uk/httpdocsincludes/modules/shipping/) is not within the allowed path(s): (/var/www/vhosts/landnsea.co.uk/httpdocs:/tmp:/usr/share/pear:/nonexec) in /var/www/vhosts/landnsea.co.uk/httpdocs/googlecheckout/gcheckout.php on line 314 Thanks Tom You are missing a / in between this => /httpdocsincludes/ Maybe a missing slash in one of the config files? Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.