1
webe3d
Parse error: unexpected '}' in ...
  • 2005/3/20 0:34

  • webe3d

  • Just popping in

  • Posts: 11

  • Since: 2005/3/20


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

2
jdseymour
Re: Parse error: unexpected '}' in ...

What are your server specs. PHP version , MySQL version, Server type and operating system?

3
webe3d
Re: Parse error: unexpected '}' in ...
  • 2005/3/20 3:56

  • webe3d

  • Just popping in

  • Posts: 11

  • Since: 2005/3/20


Operating system = Debian GNU/Linux
Perl version = v5.8.4
MySQL version = 4.0.23_Debian-4-log
PHP version = 4.3.4

4
RVirtue
Re: Parse error: unexpected '}' in ...
  • 2005/3/20 8:22

  • RVirtue

  • Quite a regular

  • Posts: 246

  • Since: 2004/8/4 9


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

5
webe3d
Re: Parse error: unexpected '}' in ...
  • 2005/3/20 21:50

  • webe3d

  • Just popping in

  • Posts: 11

  • Since: 2005/3/20


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.

Login

Username:
Password:

Lost Password? Register now!

Who's Online

71 user(s) are online (42 user(s) are browsing Support Forums)


Members: 0


Guests: 71


more...

Donat-O-Meter

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

Latest GitHub Commits