osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

New Installation Parse error: parse error, unexpected T_STRI

This is a discussion on New Installation Parse error: parse error, unexpected T_STRI within the osCMax v1.7 Installation forums, part of the osCMax v1.7 Forums category; Hi, I just downloaded osmax2 1.5 . done the installation using install script worked fine now after installation New Installation ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Installation

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-08-2004, 12:49 AM
Anonymous
Guest
 
Posts: n/a
Default New Installation Parse error: parse error, unexpected T_STRI

Hi,

I just downloaded osmax2 1.5 .

done the installation using install script worked fine now after installation

New Installation
osCommerce Configuration
The configuration was successful!

When i click on catalog or Admin Tool i get this error

Admin Tool
parse error, unexpected T_STRING in G:\Portals\oscommercemax\catalog\admin\includes\co nfigure.php on line 19

Catalog
Parse error: parse error, unexpected T_STRING in G:\Portals\oscommercemax\catalog\includes\configur e.php on line 39

As you can see i am using windoz if there is some permission settings required please tell me or something else

i am also pasting my configure.php

define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://localhost');
define('HTTPS_CATALOG_SERVER', '');
define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', 'G:\Portals\oscommercemax\catalog\'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/portals/oscommercemax/catalog/admin/'); // absolute path required
define('DIR_FS_ADMIN', 'G:\Portals\\oscommercemax\catalog\admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/portals/oscommercemax/catalog/'); // absolute path required
define('DIR_FS_CATALOG', 'G:\Portals\oscommercemax\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/');


almost same config error in catalog/includes/confgure.php

Mysql 4.0.20a
PHP 4.3.7
IIS 5.0
Win2k Server

these are my configurations.

Please help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 07-08-2004, 04:18 AM
Lurker
 
Join Date: May 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
strahd8088
Default

I have a dumb question for you. Where did you download MS2-MAX 1.5.5?? I can only find update files.

Once I get the program I may be able to help.

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 07-08-2004, 06:56 AM
Lurker
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
faisal
Default

WEll no problem i also had to search this thing when i needed it
you can download it from this page.
http://aabox.com/ms2-max.html

Look for Download AABox MS2-MAX
and you may get it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 07-08-2004, 10:19 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,558
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default Re: New Installation Parse error: parse error, unexpected T_

Quote:
Originally Posted by Anonymous
define('DIR_FS_ADMIN', 'G:\Portals\\oscommercemax\catalog\admin/'); // absolute pate required
Maybe this should be
Code:
  define ('DIR_FS_ADMIN', 'G:\Portals\oscommercemax\catalog\admin/'); // absolute pate required
Good Luck!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 07-08-2004, 11:27 PM
Lurker
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
faisal
Default

Nop Jpf no luck i checked the code and change it but same problem.

Is there any config change required in php.ini file

I already turne reg global On .

if any thing else is there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 07-09-2004, 06:06 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,558
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

You have not posted the CATALOG configure.php around line 39..Mine states:


define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');


Please compare to yours....
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Parse error: parse error, unexpected T_NEW, expecting ')' oscnoob osCMax v1.7 Discussion 0 04-02-2005 02:27 PM
Parse error that just won't go away tiataras osCommerce 2.2 Modification Help 4 08-20-2004 05:01 AM
Parse error on Payment Module after installation EPierre osCommerce 2.2 Installation Help 0 11-11-2003 06:23 PM
Parse error: parse error for product_listing.php midwestwebsites osCMax v1.7 Discussion 1 09-16-2003 01:21 PM
Parse error: parse error, unexpected T_STRING? HELP... hanool osCommerce 2.2 Modification Help 1 09-10-2003 10:38 AM


All times are GMT -8. The time now is 09:05 AM.


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