Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What's wrong with this code?


Tsuri Japan

Recommended Posts

Is there anything wrong with this code because I keep getting this error?

 

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/fukuokaf/public_html/tsurishopjapan/admin/googlefeeder.php on line 171

 

This is line 171:

$_cleaner_array = array(">" => "> ", "®" => "", "?" => "", "™" => "", "?E => "", "\t" => "", " " => "");

 

Nigelman :thumbsup:

Link to comment
Share on other sites

"?E => "",

 

no closing " before the =>

:-)

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 ...

Link to comment
Share on other sites

Ok great Monica that did the trick but now this happens........

 

Warning: fopen(http://www.tsurishopjapan.com/feeds/paquins_s7_dion_ne_jp.txt) [function.fopen]: failed to open stream: HTTP wrapper does not support writeable connections. in /home/fukuokaf/public_html/tsurishopjapan/admin/googlefeeder.php on line 285

 

Warning: fwrite(): supplied argument is not a valid stream resource in /home/fukuokaf/public_html/tsurishopjapan/admin/googlefeeder.php on line 286

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/fukuokaf/public_html/tsurishopjapan/admin/googlefeeder.php on line 287

File completed: ../feeds/paquins_s7_dion_ne_jp.txt

 

Warning: chmod() [function.chmod]: No such file or directory in /home/fukuokaf/public_html/tsurishopjapan/admin/googlefeeder.php on line 289

 

erghhhhhhhhhhhhhhhhhhh!!!!

 

Nigelman :huh:

Link to comment
Share on other sites

Hi Nigel, I have not used this contrib yet, maybe you need to set writing permissions to a file beforehand? I'd post in the contrib support thread ...

:-)

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 ...

Link to comment
Share on other sites

Yeah I did and I'll report to that thread that maybe there's a text error thanks to your careful eye. Permissions are something I always struggle at sometimes. :blush:

 

Thanks Monika.....my site is coming along quite nice and I did many changes to my site that you said from before (esp my footer)

 

Nigelman :thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...