Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't insstall


Guest

Recommended Posts

Posted

i try to install and have error message is :

Error!

Unable to determine the page link!

anybdy can help me?

 

Pendiv

Posted

in my file zip nothing folder and file install/install.php and i try to install manual. step by step install database sql and configure aplication_top.php.

and always error :

Error!

 

Unable to determine the page link!

 

and second error at admin, images not shown. i have check at folder includes/local/readme.txt

but i'm not understand about it

help me please

Posted

Hey

 

First of all make sure you have downloaded a latest stable release.

 

Then follow the docs buddy.

 

The basic setup is very simple if you are accessing the right pages mentioned in the docs.

 

And if you are still having problems,then look some where else on your server,cause believe me basic setup is as simple as stated .

 

V

Posted

friend can you help to download oldest script with install/install.php file

Posted

i have download milestones and always not working, error:

 

Error!

Unable to determine the page link!

 

i'm try to install it at my localhost server, maybe it's the problem?

but i'm using other script and working properly.

Posted

Well then try to run some sample php pages on your localhost.

 

Make sure your apache server is working good.And your Mysql is running good.

 

It works if everything required is working good.

 

I did a localhost install too and it worked.Just follow the instructions.

Posted

i was test php, xitami, mysql and it working

i have test with using other php script and it working

 

i have readme.txt at catalog/includes/local/readme.txt and contain this:

This directory contains local configuration information.

 

It also must contain a file named configure.php that can be used to override

the defaults set in application_top.php

 

Remember to execute PHP commands the file needs to start with <?php and end with ?>

 

what the meaning of this file? we must create configure.php?

can u help me to create that file

 

PendiV

Posted

Hi everybody :) i downloaded oscommerce and i don't know what to do now! i was sure i will find step-by-step guide, but :cry: i didn't . i searched forum and i was at wiki.oscommerce.top but there is no guide... i like the program, but i am completely lost... help me please with good links to 'how to install', or maybe somebody will help me to configure it to my site for fee? let me know please, my email is [email protected] thank you

Sometimes, ignorance is not bliss.

Posted

I installed and followed the install directions, but when I try to go to

http://localhost/catalog/login.php I get these errors.

 

Parse error: parse error in includes/functions/database.php on line 5

 

Fatal error: Call to undefined function: tep_db_connect() in includes/application_top.php on line 166

 

Can some one steer me in the right direction.

Thank you,

Posted

<?

// This is needed to tell application_top.php that we were read in and OK

 define('CONFIGURE_STATUS_COMPLETED', 1);

?>

 

This is a minimal configure.php file. You may also want to define some variables there as well. Btw, to what link are you trying to connect? For example, if your home domain is pointed to a root directory with catalog as a subdirectory, you might have to type in http://www.homeroot.com/catalog/default.php to get to the catalog. If you post your URL, people can give a few common alternatives a try.

 

Good luck,

Matt

I love deadlines. I like the whooshing sound they make as they fly by. ---Douglas Adams

Posted

I am pretty sure the problem is in database.pbp

 

here is what I have

<?

function tep_db_connect() {

global $db_link;

 

if (USE_PCONNECT) @$db_link = mysql_pconnect(DB_SERVER, DB_SERVER_USERNAME,namehere? DB_SERVER_PASSWORD);

andhere else @$db_link = mysql_connect(DB_SERVER, DB_SERVER_USERNAME,here DB_SERVER_PASSWORD);

 

andhere if ($db_link) @mysql_select_db(DB_DATABASE);

catalog return $db_link;

}

 

function tep_db_close() {

global $db_link;

 

$result = mysql_close($db_link);

 

return $result;

}

 

function tep_db_query($db_query) {

global $db_link;

 

if (STORE_DB_TRANSACTIONS) {

error_log("QUERY " . $db_query . "n", 3, STORE_PAGE_PARSE_TIME_LOG);

}

 

$result = mysql_query($db_query, $db_link);

 

if (STORE_DB_TRANSACTIONS) {

$result_error = mysql_error();

error_log("RESULT " . $result . " " . $result_error . "n", 3, STORE_PAGE_PARSE_TIME_LOG);

}

 

return $result;

}

 

function tep_db_fetch_array($db_query) {

 

$result = mysql_fetch_array($db_query);

 

return $result;

}

 

function tep_db_num_rows($db_query) {

 

$result = mysql_num_rows($db_query);

 

return $result;

}

 

function tep_db_data_seek($db_query, $row_number) {

 

$result = mysql_data_seek($db_query, $row_number);

 

return $result;

}

 

function tep_db_insert_id() {

 

$result = mysql_insert_id();

 

return $result;

}

 

function tep_db_free_result($db_query) {

 

$result = mysql_free_result($db_query);

 

return $result;

}

?>

Posted

You put the configure.php file in catalog/includes/local and admin/includes/local. You would also want to define your MySQL variables in configure.php:

 

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

 define('DB_SERVER', 'localhost');

 define('DB_SERVER_USERNAME', 'username');

 define('DB_SERVER_PASSWORD', 'password');

 

It is recommended that you put this before the other lines (but still inside the <? and ?> lines). That way, if something happens while including the file, it will produce an appropriate error. Obviously, username and password are just examples, which you should replace with your actual values. localhost is probably the correct DB_SERVER value but is dependent on your site.

 

You should be able to get the store up and running simply by adding appropriate lines to the configure.php if the install program did not work. If you continue to have troubles, I would suggest reinstalling version 2.2 MS 1 (or MS 2 will be out tomorrow).

 

Note: the way that this is supposed to work is that you are supposed to be able to go to http://dangercolor.com/catalog/default.php and it should bring up an install page the first time. Then you can populate the default values and it should set things up automatically from that page. Once you have the default up and running, you can look into making customizations.

 

Good luck,

Matt

I love deadlines. I like the whooshing sound they make as they fly by. ---Douglas Adams

Archived

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

×
×
  • Create New...