1
bugg_tb
Parse error: parse error, unexpected T_STRING in mainfile.php
  • 2006/11/10 13:53

  • bugg_tb

  • Just popping in

  • Posts: 8

  • Since: 2005/1/6 6


Hi Guys,

I'm uploading a website to a server that until recently was hosted on my own machine,

I've followed the instructions and uploaded a like for like copy chaned mainfile.php to correspond with the new site but now when I try and launch it I get,

Parse error: parse error, unexpected T_STRING in d:\wwwcom\social\dontdelete\mainfile.php on line 38

In my mainfile it looks like,

define('XOOPS_ROOT_PATH','d:\wwwcom\social\dontdelete\');

define('XOOPS_URL','http://www.socialenterprise.co.uk/dontdelete');


etc etc etc


So I can't really see what the problem is the only idea I had was that I have to type in url/index.php as it doesn't allow directory listings, would that be an issue or have I done something really stuipd??

Cheers

Tom

2
irmtfan
Re: Parse error: parse error, unexpected T_STRING in mainfile.php
  • 2006/11/10 14:05

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


parse error. maybe a parse in comment lines.

anyway you must use / NOT \ in the path.

Login

Who's Online

354 user(s) are online (88 user(s) are browsing Support Forums)


Members: 0


Guests: 354


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits