When I try to save product i get this errors: What do I do?
Parse error: parse error in /srv/www/htdocs/web120/html/unique/core/products-admin.php on line 1
Fatal error: Call to undefined function: saveproduct() in /srv/www/htdocs/web120/html/unique/actions_admin/products.php on line 47
Jensen
wizzud
2006-01-19 12:29
Try doing the FTP upload of the source code in Binary mode
zekic
2006-01-19 15:00
I'm trying to use Quick.Cart 1.0
I've got the same error at my ISP machine: Parse error: parse error, unexpected $ in /home/gundogdu/public_html/alisveris/core/products-admin.php on line 1 This error shown when trying to add a new (firs) product.
But same files works without any error at my linux box.
my isp's php version: 4.3.11 and gd version: 2.0.28
my linux box's php version: 4.3.10-16 and gd version: 2.0 or higher
Ashen
2006-01-19 15:10
I'm also getting the unexpected $ with 1.0 adding a product on one of my servers (and not on my dev server)...
wizzud says: Try doing the FTP upload of the source code in Binary mode
Ashen
2006-01-19 17:11
The FTP thing worked, who'da thunk it.
Thanks for your help wizzud and your reiteration treewood. Hope you dont mind myself and Arpan hacking your attributes plugin for 1.0 :)
Cheers. Ash.
wizzud
2006-01-20 08:35
Ashen >> Hack away. But be aware that I am in the process of updating it right now.
endzone
2006-01-20 17:30
Tried to upload in binary mode, but same problem
URAN
2006-05-16 08:39
Huh... What is "binary mode"? binary mode = ASCII?
URAN
2006-05-16 08:55
I`ve solved it this way:
1. View Source Code (edit mode) of products-admin.php on my CPU + Select All + Copy 2. View Source Code (edit mode) of products-admin.php on server + Select All + Delete + Paste