Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

i typed something wrong or missed on line 17 in configure.php


WebDudeSlo

Recommended Posts

Posted

hello, i have dinamic ip and testing oscommerce, when i always change ip in configure.php i missed something or typed wrong, i get this error when i try to load page:

 

 

 

Parse error: parse error, unexpected T_DNUMBER in C:\AppServ\www\trgovina\includes\configure.php on line 17

 

 

 

 

--> in configure.php when i open it with text editor and go on line 17, i see:

 

 

 

define('HTTP_COOKIE_DOMAIN', 195.210.200.241'');

Posted

change to

 

define('HTTP_COOKIE_DOMAIN', '195.210.200.241');

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

i just fugure out and typed on line 17 in configure.php 'http://195.210.200.241');

 

 

define('HTTP_COOKIE_DOMAIN', 'http://195.210.200.241');

 

 

now it works but i typed right ?

Posted

no http in cookies ...

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted
no http in cookies ...

 

 

hey monika you have right! many thanks ! may i ask you one question too?

 

i have problems with sending email over SMTP from oscommerce.

If i sent email from outlook it work, but if i sent email over smtp from oscommerce than dont work.

i also get error in admin/orders.php ... when i send email.

i get this error:

 

Warning: mail() [function.mail]: SMTP server response: 551 User not local. We don't relay in C:\AppServ\www\trgovina\admin\includes\classes\email.php on line 520

 

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\trgovina\admin\includes\classes\email.php:520) in C:\AppServ\www\trgovina\admin\includes\functions\general.php on line 22

 

 

 

i use smtp server argosoft mail server and i sue windows xp ....

Posted

sorry, no experience with Argosoft ... one thing though, have you added the mail server infos to your local php.ini?

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted
sorry, no experience with Argosoft ... one thing though, have you added the mail server infos to your local php.ini?

 

no i didnt added mail server infos to my local php.ini

 

i tryed many mail server, but i got some errors always.

 

I tested port 25 too and it was listened.

 

I think something is wrong in oscommerce code, maybe something in email.php, but i dont know.

Archived

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

×
×
  • Create New...