Parse error: parse error, unexpected $ in /home/werset/www/norbertinum.pl/sklep/

Andrzej

Avatar: Andrzej

2006-03-16 22:07

Parse error: parse error, unexpected $ in /home/werset/www/norbertinum.pl/sklep/core/products-admin.php on line 1

That's what I get after entering my login/password in the admin section.
Which means... well, it means I cannot do anything to administer it :(.

The shops works OK locally on my Windows setup. I've uploaded it onto a remote server and as per the instructions:
1) I chmodded db/ and files/ to 777 (recusively)
2) config/general.php has also 777 on it.

Any one would offer me some help, please?

Chhers

Andrzej

treewood (OpenSolution)

Avatar: treewood

2006-03-16 22:10

Andrzej - search forum ... this problem was solved many times

Andrzej

Avatar: Andrzej

2006-03-16 23:19

Thank you Treewood,

I had searched the forum for the solution before asking but all I found was the usual and obvious permission story. After widening my search criteria I found a post describing the same problem and the solution to it.

For the benefit of those who will come here searching again:

core/products-admin.php file after uploading from a Windows machine will be stripped off linebreaks. One has to upload a *NIX file or modify the file ON the server (by FTP) by pasting the contents of a locally (Windows) opened file into it.

Cheers

Andrzej

man

No avatar

2006-03-16 23:49

all you have to do is upload it in binary mode to your webserver and it will be ok

man

gojuryu

No avatar

2006-03-27 23:23

thanks for this, I had the same problem.

All Gojuryu Network

Lass

No avatar

2006-10-30 16:13

yes , just upload as man asked ... error went out lol

Back to top
about us | contact