Errors on [New topic] and [Reply] functions when using [Romanian] [message #24612] |
Fri, 06 May 2005 20:04 |
hapco
Messages: 7 Registered: March 2005
Karma: 0
|
Junior Member |
|
|
Hi Ilia,
[This is my first post on this site - just starting to take a more serious look at FUDForum. Sorry for being late ].
I applied the language - Romanian - and I get this error when trying to post a new topic or reply to an existing topic:
Parse error: parse error, unexpected T_STRING in /home/departe/public_html/forums/theme/aproape/post.php on line 3478
Templates have been regenerated, consistency check has run and the SQL optimizer also completed.
The Forum is configured to not use URL sessions. PATH_INFO is enabled [Apache with mod_rewrite is used].
The URL for [new topic] in Romanian [target] looks like:
www.domain.com/index.php/r/frm_id/1/2/
The URL for [new topic] in English [target] looks like:
www.domain.com/index.php?t=post&frm_id=1&rid=2
Please advise.. thanks!
Hapco
[Updated on: Fri, 06 May 2005 20:06] Report message to a moderator
|
|
|
|
|
|
Re: Errors on [New topic] and [Reply] functions when using [Romanian] [message #24627 is a reply to message #24612] |
Sat, 07 May 2005 12:18 |
hapco
Messages: 7 Registered: March 2005
Karma: 0
|
Junior Member |
|
|
Good morning Ilia,
For probably unknown [yet] reasons - I just went into trying to find/fix the problem myself this morning and found some discrepancies between post.php that is generated for [default] [English] and [aproape][in my case, Romanian] theme files.
Lines 3341 and 3343 I found [so far] to differ in that respect. In [English] they show the mentioned ?t= style while in [Romanian] the 'nicer' /t/0/.. is used.
Thought it might help you..
Meanwhile - more digging underway.
Here and there,
Hapco aka iN2iTiON
[Updated on: Sat, 07 May 2005 12:19] Report message to a moderator
|
|
|
Re: Errors on [New topic] and [Reply] functions when using [Romanian] [message #24628 is a reply to message #24612] |
Sat, 07 May 2005 12:57 |
hapco
Messages: 7 Registered: March 2005
Karma: 0
|
Junior Member |
|
|
Good morning Ilia,
More updates - I have found that the include file [drawmsg.inc] from /home_directory/FUDforum/include/theme/default [the English theme] and /home_directory/FUDforum/include/theme/aproape [the Romanian theme] are different and it seems to be the reason for these errors.
Now - considering I have turned [ON] the PATH_INFO style URLs - this seems to have triggered the file differences. I am going to write one more topic on a related bug for PATH_INFO.
Also, the /home_directory/FUDforum/include/theme/ files [no specific theme, just the root of the theme directory] has all the .inc files with the comments/text in Romanian, even though I switched the default language back to [default] and even [ita].
Any thoughts why those files would be there?
Here some more,
Hapco aka iN2iTiON
[Updated on: Sat, 07 May 2005 13:03] Report message to a moderator
|
|
|
|