adobe19 Posted January 14, 2012 Posted January 14, 2012 I install oscommerce 2.3.1 and at the end it says The installation and configuration was successful! but at the same page it says Warning: fputs() has been disabled for security reasons in/home/freeuse1/public_html/install/templates/pages/install_4.php on line 143 Warning: fputs() has been disabled for security reasons in/home/freeuse1/public_html/install/templates/pages/install_4.php on line 183 includes/configure.php admin/includes/configure.php files are 0 bytes (which werent 0 bytes before) i set the permissions to 777 when i click to catalog button this massage shows Warning: require(DIR_WS_FUNCTIONScompatibility.php) [function.require]: failed to open stream: No such file or directory in/home/freeuse1/public_html/includes/application_top.php on line 41 Warning: require(DIR_WS_FUNCTIONScompatibility.php) [function.require]: failed to open stream: No such file or directory in/home/freeuse1/public_html/includes/application_top.php on line 41 Fatal error: require() [function.require]: Failed opening required 'DIR_WS_FUNCTIONScompatibility.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in/home/freeuse1/public_html/includes/application_top.php on line 41 i never created a website before so please explain as simple as possible thanks
♥geoffreywalton Posted January 14, 2012 Posted January 14, 2012 Try this in google site:www.oscommerce.com/forums Warning: fputs() has been disabled for security reasons There is a solution in what currently is the 3rd response HTH G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
adobe19 Posted January 14, 2012 Author Posted January 14, 2012 it says manually enter the correct details into the catalog/includes/configure.php and admin/includes/configure.php files but i dont know what to enter
♥geoffreywalton Posted January 14, 2012 Posted January 14, 2012 It actually says talk to your host, must be I cant count or google gives differnt result to different people. Cheers G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
BryceJr Posted January 14, 2012 Posted January 14, 2012 /includes/configure.php define('HTTP_SERVER', 'http://www.your_domain.com'); define('HTTPS_SERVER', ''); define('ENABLE_SSL', 'false'); define('HTTP_COOKIE_DOMAIN', '.www.your_domain.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/freeuse1/public_html/'); /admin/includes/configure.php define('HTTP_SERVER', 'http://www.your_domain.com'); define('HTTP_CATALOG_SERVER', 'http://www.your_domain.com'); define('HTTPS_CATALOG_SERVER', 'https://www.your_domain.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/freeuse1/public_html/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); Both CONFIGURE.PHP files has this on the bottom which MUST NEVER be posted(such as password, username, server, name of database) on a public forum. // define our database connection define('DB_SERVER', ''); define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', ''); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('DB_SERVER', 'xxx.xxx.xxx.xx');<- Usually an ip address, path, or localhost. Login to PhpMyAdmin to find out or contact your web host. define('DB_SERVER_USERNAME', 'username');<-- This is the username you use to log in to PhpMyAdmin define('DB_SERVER_PASSWORD', 'password');<-- This is the password you use to log in to PhpMyAdmin define('DB_DATABASE', 'database');<- Name of your database
adobe19 Posted January 16, 2012 Author Posted January 16, 2012 i set all file and folder permissions to 777.This solved my problem but is it ok?If not what should i do?
adobe19 Posted January 17, 2012 Author Posted January 17, 2012 /includes/configure.php define('HTTP_SERVER', 'http://www.your_domain.com'); define('HTTPS_SERVER', ''); define('ENABLE_SSL', 'false'); define('HTTP_COOKIE_DOMAIN', '.www.your_domain.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/freeuse1/public_html/'); /admin/includes/configure.php define('HTTP_SERVER', 'http://www.your_domain.com'); define('HTTP_CATALOG_SERVER', 'http://www.your_domain.com'); define('HTTPS_CATALOG_SERVER', 'https://www.your_domain.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/freeuse1/public_html/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); Both CONFIGURE.PHP files has this on the bottom which MUST NEVER be posted(such as password, username, server, name of database) on a public forum. // define our database connection define('DB_SERVER', ''); define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', ''); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('DB_SERVER', 'xxx.xxx.xxx.xx');<- Usually an ip address, path, or localhost. Login to PhpMyAdmin to find out or contact your web host. define('DB_SERVER_USERNAME', 'username');<-- This is the username you use to log in to PhpMyAdmin define('DB_SERVER_PASSWORD', 'password');<-- This is the password you use to log in to PhpMyAdmin define('DB_DATABASE', 'database');<- Name of your database i just saw your reply before trying that i set all file and folder permissions to 777.This solved my problem but is it ok?If not what should i do?
BryceJr Posted January 17, 2012 Posted January 17, 2012 ...before trying that i set all file and folder permissions to 777.This solved my problem but is it ok?If not what should i do? After your configure.php files have been populated, reset the permissions. All Folders >> 755 All Files >> 644 (except for the 2 configure.php files in /includes and /admin/includes which should be 444 or 400) If you need to make changes to your configure.php file(s), set the permission to 644, make your changes, upload them, and set their permission back to 444 or 400.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.