Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 2 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Parse error: unexpected '}' in ...
by webe3d on 2005/3/20 21:50:26

I checked the version number on my "index.php" and it was an old version. So, I downloaded XOOPS again, re-installed from scratch, and it worked! Jeez!

So who knows what it was, but thanks for your effort.
Re: Parse error: unexpected '}' in ...
by RVirtue on 2005/3/20 8:22:49

Line 82?! There is no line 82 in the XOOPS 2.0.9.2 index.php file. It ends at line 46 and the whole thing (after 34 inital comment lines) is as follows
le="color: #000000"><?php include "mainfile.php"; //check if start page is defined if ( isset($xoopsConfig['startpage']) && $xoopsConfig['startpage'] != "" && $xoopsConfig['startpage'] != "--" ) { header('Location: '.XOOPS_URL.'/modules/'.$xoopsConfig['startpage'].'/'); exit(); } else { $xoopsOption['show_cblock'] =1; include "header.php"; include "footer.php"; } ?>
What does your index.php file look like?
Re: Parse error: unexpected '}' in ...
by webe3d on 2005/3/20 3:56:38

Operating system = Debian GNU/Linux
Perl version = v5.8.4
MySQL version = 4.0.23_Debian-4-log
PHP version = 4.3.4
Re: Parse error: unexpected '}' in ...
by jdseymour on 2005/3/20 3:37:18

What are your server specs. PHP version , MySQL version, Server type and operating system?
Parse error: unexpected '}' in ...
by webe3d on 2005/3/20 0:34:41

Hey guys,

The installation seemed to go smooth, then when I clicked on "your site," or whatever it said, it got this error message:

Parse error: parse error, unexpected '}' in /home/www/mysitename.com/index.php on line 82

How I did my setup:
I copied everything inside the "html" folder to the root of my server.

I then copied the "docs" folder to my root dir.

Probably some dome persissions thing.

Anyway, any ideas?

Thank you

Who's Online

654 user(s) are online (478 user(s) are browsing Support Forums)


Members: 0


Guests: 654


more...

Donat-O-Meter

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

Latest GitHub Commits