parse error in vicidial.php

Discussions about development of VICIDIAL and astGUIclient

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

parse error in vicidial.php

Postby Michael_N » Wed Apr 20, 2011 6:17 pm

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;
            }
         }
Last edited by Michael_N on Wed Apr 20, 2011 8:11 pm, edited 1 time in total.
Michael_N
 
Posts: 687
Joined: Wed Jul 05, 2006 3:13 pm
Location: sweden

Postby williamconley » Wed Apr 20, 2011 7:37 pm

compare it to the english version.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby Michael_N » Wed Apr 20, 2011 8:17 pm

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
Michael_N
 
Posts: 687
Joined: Wed Jul 05, 2006 3:13 pm
Location: sweden

Postby williamconley » Wed Apr 20, 2011 8:29 pm

try modding it in a package that warns of errors. it's likely a missing " on a previous line.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby Michael_N » Wed Apr 20, 2011 8:33 pm

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?
Michael_N
 
Posts: 687
Joined: Wed Jul 05, 2006 3:13 pm
Location: sweden

Postby williamconley » Wed Apr 20, 2011 8:55 pm

i like netbeans. there's also eclipse.

notepad++ also has php context notices in it. there are LOTS of them out there.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Development

Who is online

Users browsing this forum: No registered users and 14 guests