FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Parse error
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon4.gif  Parse error [message #22937] Tue, 22 February 2005 03:13 Go to next message
Pikachu is currently offline  Pikachu   Italy
Messages: 47
Registered: February 2005
Location: ITALY
Karma: 0
Member
Hi
now the forum is out, a message error only:

Parse error: parse error, unexpected T_STRING, expecting ')' in /web/htdocs/www.mysite.com/home/forum/FUDforum/include/theme/default/ err.inc on line 74

Server error?


Thanks

[Updated on: Tue, 22 February 2005 03:18]

Report message to a moderator

Re: Parse error [message #22938 is a reply to message #22937] Tue, 22 February 2005 03:59 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
looks like you broke a template.

FUDforum Core Developer
Re: Parse error [message #22939 is a reply to message #22938] Tue, 22 February 2005 04:03 Go to previous messageGo to next message
Pikachu is currently offline  Pikachu   Italy
Messages: 47
Registered: February 2005
Location: ITALY
Karma: 0
Member
I have only used the theme manager/rebuild theme

What could I do?

Help me please, thanks.


Attach my file err.inc
  • Attachment: err.inc
    (Size: 4.16KB, Downloaded 1292 times)

[Updated on: Tue, 22 February 2005 04:04]

Report message to a moderator

Re: Parse error [message #22940 is a reply to message #22939] Tue, 22 February 2005 04:21 Go to previous messageGo to next message
Pikachu is currently offline  Pikachu   Italy
Messages: 47
Registered: February 2005
Location: ITALY
Karma: 0
Member
Ok
I upload err.inc, and ave another error in theme/default/index.php.
Upload it, and have access to my forum.

I used (for trying) the Rebuild Theme, and have the same errors in the 2 files.

Now can U tell me how can repair it, once I upload again the corrupted files?

I upload also the entire directory tmpl, but have errors too.

-----
I run again the file upgrade.php

and now I have errors only in some other file...
like:
forum/theme/default/uc.php on line 497

forum/theme/default/thread.php on line 512

forum/theme/default/usrinfo.php on line 257

/forum/theme/default/ppost.php on line 123

...ecc


Thanks for your help if possible. Sad

[Updated on: Tue, 22 February 2005 04:58]

Report message to a moderator

Re: Parse error [message #22947 is a reply to message #22940] Tue, 22 February 2005 14:10 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You need to find the template you've changed last and revert it to it's previous state and then rebuild the theme.

FUDforum Core Developer
Re: Parse error [message #22958 is a reply to message #22937] Tue, 22 February 2005 23:10 Go to previous messageGo to next message
Pikachu is currently offline  Pikachu   Italy
Messages: 47
Registered: February 2005
Location: ITALY
Karma: 0
Member
Hi
I reinstall all the forum, the last version, and make some little modify to
forum.css.tmpl
header.tmpl
ppost.tmpl
and
msg (italian)

It works all fine
i create forum, categories, ecc.

I rebuild theme several times.

After translating some words in italian in the msg, I upload it and rebuild theme.

I had the error of the first post again...

Is there a bug in the rebuild theme feature, it's possible?

How can I translate all italian msg and rebuild theme in a safe mode?

Now, I need to reinstall the forum???

Thanks for your help.
Re: Parse error [message #22961 is a reply to message #22958] Wed, 23 February 2005 05:15 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can do the following:

move the modified templates into a separate directory and run the upgrade script.


FUDforum Core Developer
Re: Parse error [message #22967 is a reply to message #22961] Wed, 23 February 2005 13:52 Go to previous messageGo to next message
Pikachu is currently offline  Pikachu   Italy
Messages: 47
Registered: February 2005
Location: ITALY
Karma: 0
Member
I've istalled the last version 2.6.11, upgrade works? And can correct these errors?


Thans
Re: Parse error [message #22968 is a reply to message #22967] Wed, 23 February 2005 14:47 Go to previous messageGo to next message
Pikachu is currently offline  Pikachu   Italy
Messages: 47
Registered: February 2005
Location: ITALY
Karma: 0
Member
I think that there is a problem, or in the italian language msg, or in the rebuild template feature.

Now, I reistall all again and every modify I make to the template I'll post here, so If there is a problem we can correct it before the templates crack themself.

Ok?

Can I use this Topic for monitorize my modify?


Thanks
Re: Parse error [message #22972 is a reply to message #22968] Wed, 23 February 2005 15:42 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I suppose.

FUDforum Core Developer
Re: Parse error [message #22980 is a reply to message #22972] Wed, 23 February 2005 18:20 Go to previous messageGo to next message
Pikachu is currently offline  Pikachu   Italy
Messages: 47
Registered: February 2005
Location: ITALY
Karma: 0
Member
I have restored my forum by a local back up.
- Rebuid the theme, all works, tmpl modified too
- Don't works only the register page (after logout, click on the register link no the top)
- Now, I upload a english MSG adding a line
(post_private_msg: Invia messaggio privato)

And registration now works!

SO I've proved that the problem is only in italian MSG, and some modify I have add. I need of an editor for that file?? What can I use to modify it?
I found the file MSG italian, version 2.6.11.


Thanks

[Updated on: Wed, 23 February 2005 18:29]

Report message to a moderator

Re: Parse error [message #22983 is a reply to message #22980] Wed, 23 February 2005 18:31 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Hmm... I suspect your changed to the italian msg file broken one of the text string used on the registration causing the parse error you've reported.

If you want send me (attach to your reply) the msg file and I can compare it to the original italian translation in CVS.


FUDforum Core Developer
Re: Parse error [message #22985 is a reply to message #22980] Wed, 23 February 2005 18:43 Go to previous messageGo to next message
Pikachu is currently offline  Pikachu   Italy
Messages: 47
Registered: February 2005
Location: ITALY
Karma: 0
Member
Pikachu wrote on Wed, 23 February 2005 19:20

I have restored my forum by a local back up.
- Rebuid the theme, all works, tmpl modified too
- Don't works only the register page (after logout, click on the register link no the top)
- Now, I upload a english MSG adding a line
(post_private_msg: Invia messaggio privato)

And registration now works!

SO I've proved that the problem is only in italian MSG, and some modify I have add. I need of an editor for that file?? What can I use to modify it?
I found the file MSG italian, version 2.6.11.


Thanks



I attach the msg that don't works, I modified it in several lines.

Can U tell me an adapted editor for this file?

Thanks
  • Attachment: msg mod.txt
    (Size: 61.73KB, Downloaded 1165 times)

[Updated on: Wed, 23 February 2005 18:49]

Report message to a moderator

Re: Parse error [message #22988 is a reply to message #22985] Wed, 23 February 2005 19:01 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I use a unix editor called "joe" to edit the file.

The one problem I noticed in your file (likely cause for the parser error) was on adm_account_accepted: line.

On that line you had ' (single quote) that was not escaped
\' or HTML encoded.


FUDforum Core Developer
Re: Parse error [message #22990 is a reply to message #22988] Wed, 23 February 2005 19:22 Go to previous messageGo to next message
Pikachu is currently offline  Pikachu   Italy
Messages: 47
Registered: February 2005
Location: ITALY
Karma: 0
Member
Could You attach it corrected, so I can try it.

If it don't works, I'll replace whit that one I'm using now.

I use windows xp, not unix system.
But would like to find an editor for these files.


Thanks
Re: Parse error [message #22991 is a reply to message #22990] Wed, 23 February 2005 19:31 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Win32 text editor would also work fine.
  • Attachment: msg_mod.txt
    (Size: 61.73KB, Downloaded 1506 times)


FUDforum Core Developer
Re: Parse error [message #22995 is a reply to message #22991] Wed, 23 February 2005 23:18 Go to previous messageGo to next message
Pikachu is currently offline  Pikachu   Italy
Messages: 47
Registered: February 2005
Location: ITALY
Karma: 0
Member
Using the msg modified, again the registration link give this error: -

Parse error: parse error, unexpected T_STRING in /web/htdocs/www.donnaolimpia.com/home/forum/theme/default/pre_reg.php on line 69

I'll restore the last MSG (and attach it).

It works but the italian traduction is bad and incomplete. It works but not the pdf generator link :
Parse error: parse error, unexpected '\'', expecting ')' in /web/htdocs/www.donnaolimpia.com/home/forum/FUDforum/include/fpdf.inc on line 68)

I would like to use this file whit all the fudforum function, pdf generator too. If you want, could you try to correct this file, if its possible?

Thanks Smile

  • Attachment: msg.inc
    (Size: 61.53KB, Downloaded 1166 times)
  • Attachment: fpdf.inc
    (Size: 3.22KB, Downloaded 1047 times)

[Updated on: Wed, 23 February 2005 23:22]

Report message to a moderator

Re: Parse error [message #22996 is a reply to message #22995] Wed, 23 February 2005 23:42 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Looks something is clearly wrong with you revisions since I don't get these errors with the stock italian translation, which is somewhat incomplete.

I suspect the errors are the result of un-escaped ' characters and similar. Find and correct all those instances and parse errors will go away.


FUDforum Core Developer
Re: Parse error [message #22997 is a reply to message #22996] Wed, 23 February 2005 23:58 Go to previous messageGo to next message
Pikachu is currently offline  Pikachu   Italy
Messages: 47
Registered: February 2005
Location: ITALY
Karma: 0
Member
Ok
i'll try.

Can U attach a intact (ita) MSG of the current version, so I can compare the two files and find some errors.

Thanks
Re: Parse error [message #22998 is a reply to message #22997] Thu, 24 February 2005 00:05 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
latest version of italian translation can be found here:
http://cvs.prohost.org/c/index.cgi/FUDforum/getfile/install/forum_data/thm/ default/i18n/italian/msg?v=1.81


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Find user feature
Next Topic: The specified PostgreSQL server is running version "3.3.4", which is older then the minimu
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 20:42:06 GMT 2024

Total time taken to generate the page: 0.11785 seconds