osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

URGENT!!!!!! Problem when installing/configurating

This is a discussion on URGENT!!!!!! Problem when installing/configurating within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; C:\FoxServ\www...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #11  
Old 10-31-2003, 03:49 AM
New Member
 
Join Date: Oct 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jman
Default

C:\FoxServ\www
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #12  
Old 10-31-2003, 03:57 AM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default

move (copy) the whole install directory to c:\FoxServ\www\install\etcetcetc

that might work

might not of course

if not then save this code below as install\templates\pages\install_3.php, it replaces the existing file and prints the dir paths to screen.

<?php
/*
$Id: install_3.php,v 1.8 2003/07/11 14:59:01 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright (c) 2003 osCommerce

Released under the GNU General Public License
*/

$script_filename = getenv('PATH_TRANSLATED');
if (empty($script_filename)) {
$script_filename = getenv('SCRIPT_FILENAME');
}
echo 'script_filename: ' . $script_filename . '<br>';
$script_filename = str_replace('\\', '/', $script_filename);
$script_filename = str_replace('//', '/', $script_filename);

$dir_fs_www_root_array = explode('/', dirname($script_filename));
$dir_fs_www_root = array();
for ($i=0, $n=sizeof($dir_fs_www_root_array)-1; $i<$n; $i++) {
$dir_fs_www_root[] = $dir_fs_www_root_array[$i];
}
$dir_fs_www_root = implode('/', $dir_fs_www_root) . '/';
echo 'dir_fs_www_root: ' . $dir_fs_www_root;
?>

<p class="pageTitle">New Installation</p>

<p><b>Database Import</b></p>

<?php
if (osc_in_array('database', $HTTP_POST_VARS['install'])) {
$db = array();
$db['DB_SERVER'] = trim(stripslashes($HTTP_POST_VARS['DB_SERVER']));
$db['DB_SERVER_USERNAME'] = trim(stripslashes($HTTP_POST_VARS['DB_SERVER_USERNAME']));
$db['DB_SERVER_PASSWORD'] = trim(stripslashes($HTTP_POST_VARS['DB_SERVER_PASSWORD']));
$db['DB_DATABASE'] = trim(stripslashes($HTTP_POST_VARS['DB_DATABASE']));

osc_db_connect($db['DB_SERVER'], $db['DB_SERVER_USERNAME'], $db['DB_SERVER_PASSWORD']);

$db_error = false;
$sql_file = $dir_fs_www_root . 'install/ms2-max.sql';

osc_set_time_limit(0);
osc_db_install($db['DB_DATABASE'], $sql_file);

if ($db_error != false) {
?>
<form name="install" action="install.php?step=3" method="post">

<table width="95%" border="0" cellpadding="2" class="formPage">
<tr>
<td>
<p>The following error has occurred:</p>
<p class="boxme"><?php echo $db_error; ?></p>
</td>
</tr>
</table>

<?php
reset($HTTP_POST_VARS);
while (list($key, $value) = each($HTTP_POST_VARS)) {
if (($key != 'x') && ($key != 'y') && ($key != 'DB_TEST_CONNECTION')) {
if (is_array($value)) {
for ($i=0; $i<sizeof($value); $i++) {
echo osc_draw_hidden_field($key . '[]', $value[$i]);
}
} else {
echo osc_draw_hidden_field($key, $value);
}
}
}
?>

<p> </p>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><a href="index.php"><img src="images/button_cancel.gif" border="0" alt="Cancel"></a></td>
<td align="center"><input type="image" src="images/button_retry.gif" border="0" alt="Retry"></td>
</tr>
</table>

</form>

<?php
} else {
?>
<form name="install" action="install.php?step=4" method="post">

<table width="95%" border="0" cellpadding="2" class="formPage">
<tr>
<td>
<p>The database import was <b>successful!</b></p>
</td>
</tr>
</table>

<?php
reset($HTTP_POST_VARS);
while (list($key, $value) = each($HTTP_POST_VARS)) {
if (($key != 'x') && ($key != 'y') && ($key != 'DB_TEST_CONNECTION')) {
if (is_array($value)) {
for ($i=0; $i<sizeof($value); $i++) {
echo osc_draw_hidden_field($key . '[]', $value[$i]);
}
} else {
echo osc_draw_hidden_field($key, $value);
}
}
}
?>

<p> </p>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<?php
if (osc_in_array('configure', $HTTP_POST_VARS['install'])) {
?>
<td align="center"><input type="image" src="images/button_continue.gif" border="0" alt="Continue"></td>
<?php
} else {
?>
<td align="center"><a href="index.php"><img src="images/button_continue.gif" border="0" alt="Continue"></a></td>
<?php
}
?>
</tr>
</table>

</form>

<?php
}
}
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #13  
Old 10-31-2003, 03:57 AM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default

then stick up a screen shot!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #14  
Old 10-31-2003, 04:06 AM
New Member
 
Join Date: Oct 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jman
Default

It does not help......It's the same as the last screen dump.....

What's the difference between osCommerce 2.2 Milestone 2 and MS2 MAX version?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #15  
Old 10-31-2003, 04:12 AM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default

it should have printed 2 filepaths to the top of the screen?

MAX uses a different sql filename as I just found out. But that shouldn't affect you. Did you try moving the install directory?

I am running out of ideas


jon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #16  
Old 10-31-2003, 04:20 AM
New Member
 
Join Date: Oct 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jman
Default

I tried moving the install dir also.... not working... I'm giving up................................................ ................ maby I shal install mysql and apache all over ant try a fresh beginning..... tanks for helping me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
CVV problem after installing mod joanstead osCMax v1.7 General Mods Discussion 1 12-29-2005 06:56 PM
page_parse_time.log error on site Walter osCommerce 2.2 Modification Help 4 11-27-2005 03:14 AM
URGENT - PLEASE HELP - PWA Problem ukgoods osCommerce 2.2 Modification Help 1 07-29-2004 11:31 AM
URGENT HELP SESSION PROBLEM ukgoods osCommerce 2.2 Modification Help 0 07-19-2004 12:33 PM
Problem installing Cool Menu mod ozone osCMax v1.7 General Mods Discussion 2 07-08-2004 11:15 AM


All times are GMT -8. The time now is 10:01 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax