Web.Hard Posted August 9, 2010 Posted August 9, 2010 Good afternoon, Develop a virtual shop osCommerce v2.2 RC2a the local server, I modified the contents and it all worked just fine. Now I'm trying to put the store on the server that I hired (Locaweb - Professional I - Linux), I've already uploaded the files, I imported the mysql database (I exported to. Sql rar compressed, then just imported the database server, the tables were created but not all seem the same local bank.) already changed the configure.php files as directed by hosting and some permissions of folders and files that I have read that would have to change. When it opens access the page without images and a bit disorganized and with the message: Warning: I am able to write to the configuration file: / home/storage/e/33/19/meusite/public_html/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. [/ I] When I access the admin appears: Object not found! The requested URL was not found on this server. If you typed the address (URL) manually, please double check the syntax of the address. If you think this is a server error, please contact the webmaster. Error 404 www.meusite.com.br Mon Aug 9 17:07:20 2010 Apache/2.2.14 (Locaweb) [/ I] My doubts are: I need to do again a "install" the store, this time on the server? Originally the store was developed inside a folder called "catalog", now no longer on the server, because the index file must be in public_html folder. So I copied the files from the catalog folder to public_html folder on the server. This correct? That would be the root path to the configure.php files (/ home/storage/e/33/19/meusite/public_html /)? What procedures must I use to store work properly? Already searched but no information about resolved. I appreciate any help even possible. Thank you. i7 860 (3.6 Ghz) / Asus P7P55D Deluxe / Sapphire HD 5850 / Corsair 8 Gb DDR3 1.550 Mhz / Seagate 1 Tb Raid 0 / Corsair 750W / Asus Vento / Cooler Master V8 (Windows 7 Ultimate 64Bits)
♥FWR Media Posted August 9, 2010 Posted August 9, 2010 Good afternoon, Develop a virtual shop osCommerce v2.2 RC2a the local server, I modified the contents and it all worked just fine. Now I'm trying to put the store on the server that I hired (Locaweb - Professional I - Linux), I've already uploaded the files, I imported the mysql database (I exported to. Sql rar compressed, then just imported the database server, the tables were created but not all seem the same local bank.) already changed the configure.php files as directed by hosting and some permissions of folders and files that I have read that would have to change. When it opens access the page without images and a bit disorganized and with the message: Warning: I am able to write to the configuration file: / home/storage/e/33/19/meusite/public_html/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. [/ I] When I access the admin appears: Object not found! The requested URL was not found on this server. If you typed the address (URL) manually, please double check the syntax of the address. If you think this is a server error, please contact the webmaster. Error 404 www.meusite.com.br Mon Aug 9 17:07:20 2010 Apache/2.2.14 (Locaweb) [/ I] My doubts are: I need to do again a "install" the store, this time on the server? Originally the store was developed inside a folder called "catalog", now no longer on the server, because the index file must be in public_html folder. So I copied the files from the catalog folder to public_html folder on the server. This correct? That would be the root path to the configure.php files (/ home/storage/e/33/19/meusite/public_html /)? What procedures must I use to store work properly? Already searched but no information about resolved. I appreciate any help even possible. Thank you. Pretty much exclusively your problem will relate to the configure.php files: - catalog/includes/configure.php catalog/admin/includes/configure.php Taking the catalog version as the example the culprits will be the first few lines: - define('HTTP_SERVER', 'http://www.mysite.com'); define('HTTPS_SERVER', 'http://www.mysite.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.mysite.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mysite.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); If the shop is installed in a directory ( like www.mysite.com/shop/ ) the above needs modification. It also assumes SSL is enabled. Other than this obviously the database access credentials must be correct. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
Web.Hard Posted August 10, 2010 Author Posted August 10, 2010 Hi FWR Media... Still doesn't working. Have i to install again? This time at Online server? Thanks for helping... i7 860 (3.6 Ghz) / Asus P7P55D Deluxe / Sapphire HD 5850 / Corsair 8 Gb DDR3 1.550 Mhz / Seagate 1 Tb Raid 0 / Corsair 750W / Asus Vento / Cooler Master V8 (Windows 7 Ultimate 64Bits)
artful Posted August 10, 2010 Posted August 10, 2010 Pretty much exclusively your problem will relate to the configure.php files: - catalog/includes/configure.php catalog/admin/includes/configure.php Taking the catalog version as the example the culprits will be the first few lines: - define('HTTP_SERVER', 'http://www.mysite.com'); define('HTTPS_SERVER', 'http://www.mysite.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.mysite.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mysite.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); If the shop is installed in a directory ( like www.mysite.com/shop/ ) the above needs modification. It also assumes SSL is enabled. Other than this obviously the database access credentials must be correct. If you put : define('ENABLE_SSL', true); as TRUE then your define('HTTPS_SERVER', 'http://www.mysite.com'); contains an error, and should be: define('HTTPS_SERVER', 'https://www.mysite.com'); with the s on https Now, if you do NOT have SSL enabled you must use: define('ENABLE_SSL', false); and then for the https : ('HTTPS_SERVER', 'http://www.mysite.com'); (without the "s" and with the real path to your SSL as some hosters give a different address for a shared SSL) Barbara
Recommended Posts
Archived
This topic is now archived and is closed to further replies.