Texan78 Posted May 2, 2005 Posted May 2, 2005 I have just set up my osCommerce the other day and while getting it laid out the way i want it i noticed that on the login.php page the images dont appear. The same happens on the create_account.php page. Also you try to sign up for a account it doesnt take. You fill out everything and hit continue and it just stays at the same page and and erases everything in the feilds. Any help on fixing this matter would be great login.php https://texascampingforum.com/~texascam/sto...5f126725a556048 create_account.php https://texascampingforum.com/~texascam/sto...5f126725a556048
♥Vger Posted May 2, 2005 Posted May 2, 2005 One of the reasons you are having problems is that your ssl cert is a self-signed cert made out to box14.bluehost.com Self-signed certs are free - and a total waste of time (unless it's made out to your domain and you only use it for the 'admin' side of things.) Vger
Texan78 Posted May 2, 2005 Author Posted May 2, 2005 Self-signed certs are free - and a total waste of time (unless it's made out to your domain and you only use it for the 'admin' side of things.) Vger <{POST_SNAPBACK}> That has nothing to do with it. I had problems with that days before i even set up my SSL. If i was only the one to use it then i would have no problems veiwing images and wouldnt even know this problem exsited. Im not in the market to spend thousands of dollars on a SSL until my store is ready to go live. Any other ideas? Thanks.
Guest Posted May 2, 2005 Posted May 2, 2005 a cert which gives the customer 10,000 in protection is less than 100.
Dhananjaya Posted May 2, 2005 Posted May 2, 2005 That has nothing to do with it. I had problems with that days before i even set up my SSL. If i was only the one to use it then i would have no problems veiwing images and wouldnt even know this problem exsited. Im not in the market to spend thousands of dollars on a SSL until my store is ready to go live. Any other ideas? Thanks. <{POST_SNAPBACK}> Godaddy.com has 29.95 certs. I have installed three already and they work great. I have moved on from oscommerce to magento and no longer monitoring this site.
Texan78 Posted May 2, 2005 Author Posted May 2, 2005 Money is not the issues. I just need to get my store set up first and the SSL has nothing to do with it. If i knew this program i would know how ti fix it, but i dont. So does anyone have any ideas for why this might be happening and how to fix it? Thanks
Guest Posted May 2, 2005 Posted May 2, 2005 Nick, You don't have https set up properly in includes/configure.php. ed
Texan78 Posted May 2, 2005 Author Posted May 2, 2005 Thank you for the reply, What exactly am i looking for. I didnt actually install this as it was a option in my CP on my server so it installed everything. Thanks <?php /* ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?Copyright (c) 2003 osCommerce ?Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) ?define('HTTP_SERVER', 'http://texascampingforum.com'); // eg, http://localhost - should not be empty for productive servers ?define('HTTPS_SERVER', 'https://texascampingforum.com'); // eg, https://localhost - should not be empty for productive servers ?define('ENABLE_SSL', true); // secure webserver for checkout procedure? ?define('HTTP_COOKIE_DOMAIN', 'texascampingforum.com'); ?define('HTTPS_COOKIE_DOMAIN', 'texascampingforum.com'); ?define('HTTP_COOKIE_PATH', '/store/'); ?define('HTTPS_COOKIE_PATH', '/store/'); ?define('DIR_WS_HTTP_CATALOG', '/store/'); ?define('DIR_WS_HTTPS_CATALOG', '/store/'); ?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', '/home/texascam/public_html/store/'); ?define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); ?define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection ?define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers ?define('DB_SERVER_USERNAME', 'xxxxxxxx'); ?define('DB_SERVER_PASSWORD', 'xxxxxxxx'); ?define('DB_DATABASE', 'xxxxxxxxxx'); ?define('USE_PCONNECT', 'false'); // use persistent connections? ?define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
boxtel Posted May 2, 2005 Posted May 2, 2005 Nick, You don't have https set up properly in includes/configure.php. ed <{POST_SNAPBACK}> yes, your ssl is at https://texascampingforum.com/~texascam/sto...ate_account.php and your base href and pictures are at https://texascampingforum.com/store/images/ Treasurer MFC
Texan78 Posted May 2, 2005 Author Posted May 2, 2005 Ok, i dont quite understanding what your trying to tell me . I know all that above. How does that come into play with my config.php?
Guest Posted May 2, 2005 Posted May 2, 2005 your site is pointing here: https://texascampingforum.com/~texascam/sto...ate_account.php and it should be pointing here: https://texascampingforum.com/store/create_account.php which means you may have another configure.php file in there, look in the includes/local and if one in there, delete it
Texan78 Posted May 2, 2005 Author Posted May 2, 2005 only thing in that dir. wa s a file named .cvsignore and all that was in it was the word config.php and nothing else. So i deleted it. Other then that was a read me file. After deleting the above its still not working. Another other ideas?
Guest Posted May 2, 2005 Posted May 2, 2005 not really, you should just follow the log files, see what is going where. you have possibly hardcoded something somewhere it should not have been and is causing lots of problems. go back thru all the code changes you did and look for ~tex and you will find where your problem is
Texan78 Posted May 2, 2005 Author Posted May 2, 2005 I havent done any code changes except for adding my header and css changes. This was a fresh installed that was installed though my server so i dont know exactly how they set it up.
Guest Posted May 2, 2005 Posted May 2, 2005 where did you get the configure.php from? the server? what changes in the header and css? perhaps put them to original first, to get the functionality working, then worry about the colors . .
Texan78 Posted May 2, 2005 Author Posted May 2, 2005 Whats funny is when you call it directly at http://texascampingforum.com/store/login.php it works. I see what your saying now about ~tex but i dont see where that could be coming from?
Guest Posted May 2, 2005 Posted May 2, 2005 your main site is not linked to be able to create an account, somehow you modified the pages, i would put generic code back and start from there, for index.php, application_top.php, etc.
Texan78 Posted May 2, 2005 Author Posted May 2, 2005 the only page i have been to is the css.stylesheet and then added my header. Other then that i havent touched anything. This is they way it was since it was installed.
Geotex Posted May 2, 2005 Posted May 2, 2005 the only page i have been to is the css.stylesheet and then added my header. Other then that i havent touched anything. This is they way it was since it was installed. <{POST_SNAPBACK}> Change the top of store/includes/configure.php to // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://texascampingforum.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://texascampingforum.com/~texascam'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'texascampingforum.com'); define('HTTPS_COOKIE_DOMAIN', 'texascampingforum.com/~texascam'); define('HTTP_COOKIE_PATH', '/store/'); define('HTTPS_COOKIE_PATH', '/store/'); and the top of your admin/includes/configure.php to define('HTTP_SERVER', 'http://texascampingforum.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://texascampingforum.com'); define('HTTPS_CATALOG_SERVER', 'https://texascampingforum.com/~texascam'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module That should clear up your problem. HTH GEOTEX from Houston, TX (George)
boxtel Posted May 2, 2005 Posted May 2, 2005 the only page i have been to is the css.stylesheet and then added my header. Other then that i havent touched anything. This is they way it was since it was installed. <{POST_SNAPBACK}> if you are hosted I would talk to your host because I believe you are being redirected via the server configuration. Treasurer MFC
Texan78 Posted May 2, 2005 Author Posted May 2, 2005 Thanks for the suggestion, but the code didnt work. Also my host didnt set it up. I have that fantisco or something like that in my CP on my sever that gives me the abilty to installe numerous programs. Thats how this was installed. So the server wouldnt have anything to do with it.
boxtel Posted May 2, 2005 Posted May 2, 2005 Thanks for the suggestion, but the code didnt work. Also my host didnt set it up. I have that fantisco or something like that in my CP on my sever that gives me the abilty to installe numerous programs. Thats how this was installed. So the server wouldnt have anything to do with it. <{POST_SNAPBACK}> well, suggest you farmiliar yourself a little more with fantastico, CP and the rest of your installation because you are being redirected, htaccess-wise or server configuration-wise . Treasurer MFC
Texan78 Posted May 2, 2005 Author Posted May 2, 2005 I think i know my Control Panel Just fine thanks. The server DID NOT INSTALL THIS it was just a feature to enable it or disable it. Do you know fantastico?
Geotex Posted May 2, 2005 Posted May 2, 2005 I think i know my Control Panel Just fine thanks. The server DID NOT INSTALL THIS it was just a feature to enable it or disable it. Do you know fantastico? <{POST_SNAPBACK}> Ok.... The problem is in your configuration file. The suggestion I gave you as a starting point would work with minor changes if you are not being redirected. A shared server has a different address than your main http server. According to the link you gave originally, which looks more like a subdomain than a secure server link, your pictures are linked to an invalid address specified in your configuration file. if you look at the properties for an image, you will see the misdirection. GEOTEX from Houston, TX (George)
Guest Posted May 2, 2005 Posted May 2, 2005 most hosts have fantastico with the install being at http://domain.com did you say to enable ssl during the fantastico install? this could be solved fairly quickly, if nothing other than a standard install.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.