Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

WHAT THE??? PLEASE HELP, URGENT!


perpetual-burn

Recommended Posts

Posted

I havent touched taht but is this ok?

 

define('DIR_WS_IMAGES', 'images/');

 

Also, my css doesnt seem to be showing in site either but stylesheet.css is there, agai, I havent touched anything! Ahhh, I'm so worried :(

Posted

What's wrong with it? It looks fine to me and I've looked at your site before.

 

Restart your browser and/or your PC.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
I havent touched taht but is this ok?

 

define('DIR_WS_IMAGES', 'images/');

 

Also, my css doesnt seem to be showing in site either but stylesheet.css is there, agai, I havent touched anything! Ahhh, I'm so worried :(

I don't think so. You have yours in a sub folder "/catalog" so it should be...

 

define('DIR_WS_IMAGES', 'catalog/images/');

 

 

Give that a try.

Contributions I used : Updated 06-13-04 23:42

----------------

Vote on My Graphis Poll

Posted
Hmm. Alan, looks good excepet for a-z letterning, gonna restart comp.

That A to Z lettering was always screwed up for me. Even before tonight. :lol:

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

odd... restarted... still messed, I have to go now, btu please, everyone I need this solved, post any and everything u can think of and I will spend tommorrow afternoon trying to figure it all out. Thanks in advance for your help and for those who have helped

 

-Phil

Posted

I just dumped my browser cache and looked again. Still looks fine.

 

Don't panic. Oops, you already have. :D

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
You are missing
<base href="">

it comes from

define('HTTP_SERVER', 'http://yourdomain.com');

You're right!

 

I wonder why it works for me. See my link on the first page.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

Assuming that your config files are right and they should be because it's worked fine till now the places to look are.

 

index.php, includes/application_top.php and ssl_check.php

 

This is where it's defined. It's like the program has forgotten to determine whether you have an ssl connection or not so it's not defining anything.

 

Look at index.php and check these lines:

 

<title><?php echo TITLE; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

 

There's a few other places that could have gone screwy but check the obvious things first. It's also possible that something on the server has gone funny.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

Did you ever have ssl working?

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

post your catalog/includes/configure.php file and remember to xxxx out the database information from the bottom of the file

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

i dont have ssl, heres my catalog/includes/configure.php file:

 

<?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://www.anime-industry.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.anime-industry.com');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/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', '/home/krazyowl/public_html/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('HTTP_SERVER', 'http://anime-industry.com'); 
define('ENABLE_SSL', false);
define('HTTP_COOKIE_DOMAIN', 'anime-industry.com');
define('HTTP_COOKIE_PATH', 'catalog');

// define our database connection
 define('DB_SERVER', 'xxxxxxxx'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'xxxxxxxxxxx');
 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'
 define('MAX_DISPLAY_WISHLIST_PRODUCTS', '10'); // How many wishlist items to show per page on the main wishlist.php file
 define('MAX_DISPLAY_WISHLIST_BOX', '6'); // How many wishlist items to display in the infobox before it changes to a counter
?>

 

Ill try some othere menioned things

Posted

Well apparently I do have ssl... Until yesterday I didnt but I just wqent into my OSC admin panel and it says Im proteected by an unknown SSL conection, in whihc case that may be the problem. What exact things do I add to my config files to make it SSL?? I posted the code above so if you could tell me what to change in what files so it's SSL ready, I'd be very grateful, thx again for the help :)

Posted

For me, it looks very well in mozilla, and looks ugly and empty with IE6.

[Maybe you should mail your users to use only mozilla for a while... :P Just joking -- let's try to find what can be the problem!]

 

Remark: the A-Z letters look nice on both, and not as you said.

If at first you don't succeed, you must be a programmer.

 

Tip Posted: Languageless Reviews

Posted

These are defined twice in your configure.php

define('HTTP_SERVER', 'http://anime-industry.com'); 
define('ENABLE_SSL', false);
define('HTTP_COOKIE_DOMAIN', 'anime-industry.com');
define('HTTP_COOKIE_PATH', 'catalog');

 

what does your admin/includes/configure.php file look like

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

this is my admin config file:

 

<?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://www.anime-industry.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.anime-industry.com');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/krazyowl/public_html/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/krazyowl/public_html/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/krazyowl/public_html/catalog/'); // absolute path required
 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 our database connection
 define('DB_SERVER', 'localhost.anime-industry.com'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'xxxxxxxxxx');
 define('DB_SERVER_PASSWORD', 'xxxxxx');
 define('DB_DATABASE', 'xxxxxxxxxx');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...