Page 1 of 1

parse error in vicidial.php

PostPosted: Wed Apr 20, 2011 6:17 pm
by Michael_N
I got this error message:

[Thu Apr 21 01:03:32 2011] [error] [client 10.10.10.100] PHP Parse error: syntax error, unexpected '}' in /srv/www/htdocs/agc/vicidial.php on line 382, referer: http://10.10.10.103/vicidial/welcome.php

This is line 382
Code: Select all
               document.getElementById("LogiNCamPaigns").innerHTML = Nactiveext;                        document.getElementById("LogiNReseT").innerHTML = "<input type=\"button\" value=\"Genopfrisk projekt List\" onclick=\"login_allowable_campaigns()\" />";                  document.getElementById("VD_campaign").focus();                  }               }            delete xmlhttp;


English
Code: Select all
document.getElementById("LogiNCamPaigns").innerHTML = Nactiveext;
                        document.getElementById("LogiNReseT").innerHTML = "<input type=\"button\" value=\"Refresh Campaign List\" onclick=\"login_allowable_campaigns()\" />";
                  document.getElementById("VD_campaign").focus();
                  }
               }
            delete xmlhttp;
            }
         }

PostPosted: Wed Apr 20, 2011 7:37 pm
by williamconley
compare it to the english version.

PostPosted: Wed Apr 20, 2011 8:17 pm
by Michael_N
It went wrong when i added more lines to my translations file

when i just used es_language.txt translated into danish
and filenamechange to dk_language.txt it went fine.

But after i added translations from TO_BE_TRANSLATED_2.4

it f*cked up

PostPosted: Wed Apr 20, 2011 8:29 pm
by williamconley
try modding it in a package that warns of errors. it's likely a missing " on a previous line.

PostPosted: Wed Apr 20, 2011 8:33 pm
by Michael_N
williamconley wrote:try modding it in a package that warns of errors. it's likely a missing " on a previous line.


Can you recommend one?

PostPosted: Wed Apr 20, 2011 8:55 pm
by williamconley
i like netbeans. there's also eclipse.

notepad++ also has php context notices in it. there are LOTS of them out there.