1
Oasis
blank page
  • 2004/6/2 19:02

  • Oasis

  • Just popping in

  • Posts: 4

  • Since: 2004/6/2 1


I read Wiki, but i have this :

Parse error: parse error, expecting `'{'' in /home/sites/site168/web/class/smarty/Smarty.class.php on line 1979

Fatal error: Class xoopstpl: Cannot inherit from undefined class smarty in /home/sites/site168/web/class/template.php on line 49

I don't know what's the problem ?

2
Dave_L
Re: blank page
  • 2004/6/2 19:15

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Have you changed any templates?

3
Oasis
Re: blank page
  • 2004/6/2 19:35

  • Oasis

  • Just popping in

  • Posts: 4

  • Since: 2004/6/2 1


no.

I installed all, and there was the blank page. I changed the registry by the query, and that's all...

After, i have this message.

4
usulix
Re: blank page
  • 2004/6/2 19:49

  • usulix

  • Just popping in

  • Posts: 6

  • Since: 2004/6/2 1


1978  function _dequote($string)
1979 {
1980 if (($string{0} == "'" || $string{0} == '"') &&


Does your smarty.class.php have this and does it extend to the full line 2703 ?

My guess is you lost some of the smarty file in transfer to your site... This happens to me when I unzip the file on my local machine and then have to upload the files individually since I don't have shell access to my web server where I could just unzip it in the web folder.

If this is the case... you probably have other files missing as well.. try the ftp upload again checking files as you go.

5
Oasis
Re: blank page
  • 2004/6/2 20:49

  • Oasis

  • Just popping in

  • Posts: 4

  • Since: 2004/6/2 1


no for smarty, number of lines OK.

I have no ideas...

6
usulix
Re: blank page
  • 2004/6/2 22:45

  • usulix

  • Just popping in

  • Posts: 6

  • Since: 2004/6/2 1


Based upon the error reported from php, it must be trying to process the smarty class creation in Smarty.class.php and that's where it fails.

Are you checking the file visually or with diff?

If you want, you can send a copy of the file to usulix@yahoo.com and I'll take a look. Make sure it's the file copied off the web server though and not a local copy... you may have lost an _ or something else strange in transfer.

Login

Who's Online

147 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 147


more...

Donat-O-Meter

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

Latest GitHub Commits