Guest Posted October 21, 2008 Share Posted October 21, 2008 Problem resolved. I downloaded a template version 2.1 and it worked. There was a conflict with the php and MySQL settings on my server with the 2.2 template. Link to comment Share on other sites More sharing options...
pglamar Posted October 22, 2008 Share Posted October 22, 2008 Hi, I'm totaly new at this, but I usualy can find what I am looking for just by reading throught the forum... Now I cant find any answer to my problem so Im asking it here: In Step 1: Database Server When I try to connect to the database server I get this error : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) I've been searching for hours now and I cant find nothing. What's the problem, and how I can resolve it ?? Thanks PG Link to comment Share on other sites More sharing options...
♥Vger Posted October 22, 2008 Author Share Posted October 22, 2008 That usually means that MySQL is not running at all. Vger Link to comment Share on other sites More sharing options...
pglamar Posted October 22, 2008 Share Posted October 22, 2008 That usually means that MySQL is not running at all. Vger Where can I see if MySQL is running or not ?? And how can I make it running ?? Link to comment Share on other sites More sharing options...
♥Vger Posted October 22, 2008 Author Share Posted October 22, 2008 I'm sorry but this thread is only about installing osCommerce. It assumes that your web server is actually up and running. Vger Link to comment Share on other sites More sharing options...
pglamar Posted October 22, 2008 Share Posted October 22, 2008 I'm sorry but this thread is only about installing osCommerce. It assumes that your web server is actually up and running. Vger ok my server is working since weeks now, I already have a page online And now Im stock since like 2 days in the oscommerce intallation process because of this error... I really dont know what to do and I'm about to giving up... Please if you wont help me, atleast give me some tips or tell me where to look... Thanks in advance PG Link to comment Share on other sites More sharing options...
♥Vger Posted October 23, 2008 Author Share Posted October 23, 2008 Having a web page online, if it's an HTML page or a PHP page with no database queries, doesn't mean you have MySQL running. Try accessing phpMyAdmin. If you can't access phpMyAdmin then MySQL is not running. Vger Link to comment Share on other sites More sharing options...
pglamar Posted October 23, 2008 Share Posted October 23, 2008 Having a web page online, if it's an HTML page or a PHP page with no database queries, doesn't mean you have MySQL running. Try accessing phpMyAdmin. If you can't access phpMyAdmin then MySQL is not running. Vger Yes I was able to access phpMyAdmin but now it not a problem anymore... I just cancel my account with IPOWER which seems to be not to friendly with oscommerce and I will try with a new host and see if I will end up with the same problem again... Do you have a good web server to suggest me to run oscommerce?? Thank you very much for your help... See you soon with probably other question and problems (not so soon I wish) Link to comment Share on other sites More sharing options...
Guest Posted October 27, 2008 Share Posted October 27, 2008 I want to insert spec sheets for my products so that other people can download. I followed the procedure given in the manual. A box with an arrow below the item does showup when i click on the item but is has no link and cant download the file , I tried with Zip file, word file etc, nothing seems to work, you can access my website at http://www.desktopmarket.com/catalog/produ...;products_id=30 and see the problem for yourself. Please guide me how to correct the problem root: /htdocs/catalog/includes has following entries. the name of my store is desktopmarket define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/data/18/0/131/151/783151/user/802022/htdocs/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); thanks Dawood Link to comment Share on other sites More sharing options...
♥Vger Posted October 27, 2008 Author Share Posted October 27, 2008 This is the Quick Install Guide, which deals with the basic installation of osCommerce and nothing more. Please post your question in the Support Thread for the contribution you have installed. Vger Link to comment Share on other sites More sharing options...
Guest Posted November 4, 2008 Share Posted November 4, 2008 How do i fix this problem??? Create a /tmp folder and link it togehter. Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 177557 is not allowed to access /tmp owned by uid 0 in /customers/zzstreetstyle.se/zzstreetstyle.se/httpd.www/shop/catalog/includes/functions/sessions.php on line 169 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /customers/zzstreetstyle.se/zzstreetstyle.se/httpd.www/shop/catalog/includes/functions/sessions.php:169) in /customers/zzstreetstyle.se/zzstreetstyle.se/httpd.www/shop/catalog/includes/functions/sessions.php on line 102 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /customers/zzstreetstyle.se/zzstreetstyle.se/httpd.www/shop/catalog/includes/functions/sessions.php:169) in /customers/zzstreetstyle.se/zzstreetstyle.se/httpd.www/shop/catalog/includes/functions/sessions.php on line 102 Link to comment Share on other sites More sharing options...
dvharrison Posted November 6, 2008 Share Posted November 6, 2008 Without sounding like a cheerleader (which incidentally I also eat for breakfast on the forums I mdoerate) thanks Vger/Rhea that is a good quick install guide even for an OSC newbie like me! :D Thanks. (rah rah rah!) Debbie Harrison Link to comment Share on other sites More sharing options...
juless231 Posted November 9, 2008 Share Posted November 9, 2008 I am currently having the exact same errors as ZZ Johan, above and also getting: "Warning: I am able to write to the configuration file: /misc/29/000/202/174/3/user/web/maridollshop.com/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file." Now, I'm quite new to this system and have no idea what to do with this. I have found answers to people asking the same question but the answers are telling you to do something that I have no idea how to do! I have no idea how I'm supposed to "Reset the permissions on catalog/includes/configure.php to 644" for example. I appreciate being told what I need to do but how do I actually do it? I have tried going into the configuration file, but where are these things to reset? I created a tmp folder but what do I do with it? If someone can please help me, and actually just give me a quick explination of how to do what will actually solve the problem I would greatly appreciate it! I run a forum and have used databases before, but it was never as confusing as I find this is... help! Link to comment Share on other sites More sharing options...
juless231 Posted November 9, 2008 Share Posted November 9, 2008 For some reason, it won't let me edit my previous post. Just needed to add that all of the installation instructions, including what was included when I downloaded everything, didn't match what I was seeing on my screen. I didn't have the same options at all. Unsure why this is.. Link to comment Share on other sites More sharing options...
Apotypomata Posted November 11, 2008 Share Posted November 11, 2008 Hi Guys Sorry if this is the wrong forum. A bit desperate. I have a site almost complete using OS commerce - stock photos uploaded etc etc. I recently purchased an SSL certificate for www.apotypomata.com (my domain, store is /catalog) However... I can't find a way of pointing OS commerce at the SSL certificate when it needs it (through the admin login). If I enter https://www.apotypomata.com/catalog I get a message on my browser saying there are certificate errors. To further complicate matters, oscommerce defaults to http://apotypomata.com/catalog which means that the SSL Certificate does not correspond (since it has the www prefix- probably my bad, there). What I want to be able to do is tell oscommerce where the certificate is and get it to use the appropriate area of my host when processing data from customers. All suggestions gratefully appreciated! Link to comment Share on other sites More sharing options...
joebob2k10 Posted November 18, 2008 Share Posted November 18, 2008 I hope you are able to help me with this issue. I am able to login to the admin side of OS Commerce. But when I create a new user on the catalog side I am unable to login as that user. I have checked the database and the user is created. When I try to login in I do not get an error stating the name and password do not match, it passes as though the login took. But the next page displayed is Welcome ,Guest! I am using php v.4.3.4 and it is install on a Windows 2000 IIS server for a local intranet Below is a copy of my configure.php <?php define('HTTP_SERVER', 'http://gp-intranet'); define('HTTPS_SERVER', 'http://gp-intranet'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'gp-intranet'); define('HTTPS_COOKIE_DOMAIN', 'gp-intranet'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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', 'c:/inetpub/wwwroot/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'gp-intranet'); define('DB_SERVER_USERNAME', '*****'); define('DB_SERVER_PASSWORD', '*****); define('DB_DATABASE', 'storefront'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> Link to comment Share on other sites More sharing options...
oxydiom Posted November 24, 2008 Share Posted November 24, 2008 After installing I encountered this problem: Finished! Warning: fopen(C:/Inetpub/vhosts/hakimshafa.ir/httpdocs/catalog/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\vhosts\hakimshafa.ir\httpdocs\catalog\install\templates\pages\install_4.php on line 116 Warning: fputs(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\hakimshafa.ir\httpdocs\catalog\install\templates\pages\install_4.php on line 117 Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\hakimshafa.ir\httpdocs\catalog\install\templates\pages\install_4.php on line 118 Warning: fopen(C:/Inetpub/vhosts/hakimshafa.ir/httpdocs/catalog/admin/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\vhosts\hakimshafa.ir\httpdocs\catalog\install\templates\pages\install_4.php on line 152 Warning: fputs(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\hakimshafa.ir\httpdocs\catalog\install\templates\pages\install_4.php on line 153 Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\hakimshafa.ir\httpdocs\catalog\install\templates\pages\install_4.php on line 154 The installation and configuration was successful! What's the problem?! Link to comment Share on other sites More sharing options...
GemRock Posted November 24, 2008 Share Posted November 24, 2008 ...a Windows 2000 IIS server for a local intranet... few people would attempt to install osc in such an enviroment. your 'DIR_FS_CATALOG' is different from what shows in the error. Ken commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
FIMBLE Posted December 5, 2008 Share Posted December 5, 2008 After installing I encountered this problem: Finished! Warning: fopen(C:/Inetpub/vhosts/hakimshafa.ir/httpdocs/catalog/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\vhosts\hakimshafa.ir\httpdocs\catalog\install\templates\pages\install_4.php on line 116 Warning: fputs(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\hakimshafa.ir\httpdocs\catalog\install\templates\pages\install_4.php on line 117 Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\hakimshafa.ir\httpdocs\catalog\install\templates\pages\install_4.php on line 118 Warning: fopen(C:/Inetpub/vhosts/hakimshafa.ir/httpdocs/catalog/admin/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\vhosts\hakimshafa.ir\httpdocs\catalog\install\templates\pages\install_4.php on line 152 Warning: fputs(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\hakimshafa.ir\httpdocs\catalog\install\templates\pages\install_4.php on line 153 Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\hakimshafa.ir\httpdocs\catalog\install\templates\pages\install_4.php on line 154 The installation and configuration was successful! What's the problem?! It means that your Admin / includes / configure.php was not written to You will need to go and do this manually or try the install again Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
danerb Posted December 5, 2008 Share Posted December 5, 2008 okay here's a tip for the newbees using preinstalled OSC. There are 2 places in catalog folder to be updated yes believe it 2 x configure.php One is in ../catalog/includes/ and the other is in ../catalog/includes/local/ Typically only one has the database paswords etc. setup and this needs to be enabled i.e. set to 1 or true Check the application_top file and find the SLL ? NONSLL if query and make sure the query matches the one you define in the config file(s). It should work if not chmod the config files to 755 (xxx, x--, xxx) "If it was easy everybody would be doing it" Link to comment Share on other sites More sharing options...
danerb Posted December 5, 2008 Share Posted December 5, 2008 My problem.. got SSL installed and suddenly when i add to the cart, click my account or checkout I just get bank a blank back! I've undone everything I did earlier redone it again.. no use then used my clean 2.2rc2a file for config and app_top and still nothing.. changed CHMOD's every thing looks fine? So SSL is working but try to update cart and blank pages.. as in view source nothing! any ideas? "If it was easy everybody would be doing it" Link to comment Share on other sites More sharing options...
mmiganzgombic Posted December 9, 2008 Share Posted December 9, 2008 Can't connect to MySQL server on '192.168.0.1' I cant pass this one. Need help...yap, i'm girl without php knowledge :( Link to comment Share on other sites More sharing options...
danerb Posted December 9, 2008 Share Posted December 9, 2008 My problem.. got SSL installed and suddenly when i add to the cart, click my account or checkout I just get bank a blank back! I've undone everything I did earlier redone it again.. no use then used my clean 2.2rc2a file for config and app_top and still nothing.. changed CHMOD's every thing looks fine? So SSL is working but try to update cart and blank pages.. as in view source nothing! any ideas? Had to reinstall and eventually it all figured its self out.. problem with provider really! hosting & ftp was all messed up 'You have 0 MB of 0MB disc space remaining' not funny! "If it was easy everybody would be doing it" Link to comment Share on other sites More sharing options...
tonymills Posted December 26, 2008 Share Posted December 26, 2008 Hi, I have a problem I am hoping someone can help me with, once I go through the install pricess I get the following error message.... I cannot get into the control panel once I install... 1146 - Table 'mysql.configuration' doesn't exist select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] Link to comment Share on other sites More sharing options...
gooddeal518 Posted December 27, 2008 Share Posted December 27, 2008 HI Vger: Give me a hand, please. I installed XAMPP 1.6.8 + Oscommerce-2.2rc2a , but it displays on http://localhost/catalog/install/install.php?step=4 many thanks [b] Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'ODBC'@'localhost' (using password: NO) in F:\xampp\htdocs\catalog\install\includes\functions\database.php on line 29 Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in F:\xampp\htdocs\catalog\install\includes\functions\database.php on line 29 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in F:\xampp\htdocs\catalog\install\includes\functions\database.php on line 35 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in F:\xampp\htdocs\catalog\install\includes\functions\database.php on line 35 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in F:\xampp\htdocs\catalog\install\includes\functions\database.php on line 35 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in F:\xampp\htdocs\catalog\install\includes\functions\database.php on line 35 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in F:\xampp\htdocs\catalog\install\includes\functions\database.php on line 39 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in F:\xampp\htdocs\catalog\install\includes\functions\database.php on line 35[/b] Warning: fopen(/includes/configure.php) [function.fopen]: failed to open stream: No such file or directory in F:\xampp\htdocs\catalog\install\templates\pages\install_4.php on line 116 Warning: fputs(): supplied argument is not a valid stream resource in F:\xampp\htdocs\catalog\install\templates\pages\install_4.php on line 117 Warning: fclose(): supplied argument is not a valid stream resource in F:\xampp\htdocs\catalog\install\templates\pages\install_4.php on line 118 Warning: fopen(/admin/includes/configure.php) [function.fopen]: failed to open stream: No such file or directory in F:\xampp\htdocs\catalog\install\templates\pages\install_4.php on line 152 Warning: fputs(): supplied argument is not a valid stream resource in F:\xampp\htdocs\catalog\install\templates\pages\install_4.php on line 153 Warning: fclose(): supplied argument is not a valid stream resource in F:\xampp\htdocs\catalog\install\templates\pages\install_4.php on line 154 The installation and configuration was successful! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.