Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error message after installation


klaus-liebler

Recommended Posts

Posted

Hello,

 

can anybody please have a look on www.cafe-tiefburg.de/catalog and tell me, what i've done wrong.

 

I tested my layout changes on my local winxp-system and foxserv. Then I put all files on the cafe-tiefburg server and started the installation. Unfortunately the installation failed because the routine wasn't able to write in the two configuration files. So I edited both files manually (of couse, while taking the two local configuration files into account). There must be the error, but I can't find it.

 

Thx a lot for your help:

 

Klaus

 

Here the config-file for the catalog:

....

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.cafe-tiefburg.de'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

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', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', '/home/sites/site47/web');

define('DIR_FS_CATALOG', '/home/sites/site47/web/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection.....

Posted

I would try uploading a new copy of the session.php and general.php files. Configuration seems fine. Most likely, you have a corrupt file and those are the two that are mentioned in the errors.

 

You may want to try switching FTP transmission mode from auto to text or between text and binary.

 

Good luck,

Matt

Posted

Check to see in catalog/includes/functions/general.php if you dont have extra lines after the last ?> at the bottom of the file

 

HTH

The_Bear

Posted

It hapened with me because in the instalation i chosed to save sessions in a file instead in the data base so i Reinstalled the OSC and this time i chose Data Base

 

Best Regards

 

Frederico Pereira

The world is great but we can make the world mutch bigger just need to think.....

Posted
Check to see in catalog/includes/functions/general.php if you dont have extra lines after the last ?> at the bottom of the file

There were no such lines!

It hapened with me because in the instalation i chosed to save sessions in a file instead in the data base so i Reinstalled the OSC and this time i chose Data Base  

I've chosen DataBase!

 

What can I try now?

 

Thx

 

Klaus

Posted

What editor do you use?

Does ithavea line count?

Because 99% of the time when you have a 'headers already sent by' it is an extra line before the first ?< at the top or after the last ?> at the bottom of the page

Posted

I use PHPEdit. Yes, it does have a line count. There are NO extra lines before the first ?< at the top or after the last ?> at the bottom of the page.

 

Klaus

Posted

Kluse, let me see if I can expain this a little better. Bear is correct when he says there is possibly another line at the beginning or at the end of the file. You won't see anything as it is called "White Space", so using your editor you need to open the file and then scroll to the bottom. If your cursor rests below the ?> line then you have White Space. Just backspace to the ?> and save the file. Same at the top, however, the space would be before the <?. Usually white space occures at he bottom as most programmers hit a return at the end of a line.

 

Should look like this with cursor flashing

?>|

 

Not like this ( usually indicates white space)

?>

|

 

Hope this helps and clears up the problem. Nice looking site BTW.

Posted

Hi,

 

it seems that you did not configure the database on your server...

I had the same problem until i asked my provider to create a mysql database, and after i made as it is written in the faq to upload the database ( in the admin tool, on your local machine web site, backup of the database, rename it, and upload it on the web server, and then launch installation on the web server, and put the right things in database server ( your provider will give you all the necessary things).

You should have less problems after...

I just begin with os commerce ( www.accessland.fr), and now everything is fine, i am just having troubles with the path in the configure.php files...

See ya, and hope that it helps..

And sorry for my bad english (ich cpreche nicht deutsch ganz gut auch...)

Fabien (France)

Posted
Kluse, let me see if I can expain this a little better. Bear is correct when he says there is possibly another line at the beginning or at the end of the file. You won't see anything as it is called "White Space", so using your editor you need to open the file and then scroll to the bottom. If your cursor rests below the ?> line then you have White Space. Just backspace to the ?> and save the file. Same at the top, however, the space would be before the <?. Usually white space occures at he bottom as most programmers hit a return at the end of a line.

 

Should look like this with cursor flashing

?>|

 

Not like this ( usually indicates white space)

?>

|

 

Hope this helps and clears up the problem. Nice looking site BTW.

I'm definitely shure, that there are neither blank lines at the beginning nor at the end. If you give me your eMail-Adress, i'll send you the file

 

it seems that you did not configure the database on your server...

The database exists. I can access it for example via myphpadmin.

 

Any futher help?

 

Klaus

  • 2 weeks later...
Posted

Hi,

 

did you find a solution, or do you still have some problems?

My website is quite working, a lot of work now about designe ( it is ugly for the moment... and the category menu is not very beatifull too...)

See ya,

Fabien Deregel

Archived

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

×
×
  • Create New...