Jump to content


Problem with Javascript Code (Live Help Button)


9 replies to this topic

#1 Guest_isphttp_*

  • Guests

Posted 21 November 2008 - 11:01 PM

Hi,

i have a Problem with Include the Live Button with Tracker, my CMS Tell me a Syntax Error:

Quote

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /var/www/web151/html/themes/isphttp/theme.php on line 332".

Quote

ISPHTTP Live Support Chathttp://www.LiveZilla.net Tracking Code -->

can someone help me?

is possible the Tracker include without the Live Support? so i can the Live Support with Iframe embed without Problems.

Best Thanks for Help, sorry for my Bad englisch ;)

#2 Patrick Keil

    Administrator

  • Administrators
  • 3816 posts
  • LocationSingen, Germany

Posted 22 November 2008 - 08:25 AM

As you said, this is HTML code. But you seem to place it into your php code. :(

If you want to use PHP please use this code: (" must be masked = \")

echo "\"ISPHTTP
"


#3 Guest_isphttp_*

  • Guests

Posted 22 November 2008 - 10:41 AM

Thanks for Answer, the Themes.php is for the Layout and 70% html, 30% PHP:

	echo '

		  
		  
VServer XXL 30 GB Speicher HDD 512 MB Arbeitsspeicher 400 GB Traffic inklusive Eigene IP Adresse 64-Bit Dualcore CPU Reboot & Neuinstall VServer Control Panel SSH Root Zugang 14 OS IMAGES RAID 1 System Logical Volume Manager 100MBit Anbindung Garantierte Leistungen Mehr Details Jetzt Bestellen *Vertragslaufzeit 3 Monate. Preise inkl. MwST.
'; }

the livesupport.php is with Iframe "the javascript code". this works finde, but the Tracker not works, and tell me from visitor "livesupport.php".

i include your Code, but the same Problem:

Quote

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /var/www/web151/html/themes/isphttp/theme.php on line 332

have you a other idea?

Best Regards

#4 Derek Punzova

    Support Team Member

  • Moderators
  • 6181 posts

Posted 22 November 2008 - 12:16 PM

The code you provided does not contain the LiveZilla Tracking code.

I would recommend to take your time and learn some PHP basics. Maybe its also useful to google for "Anführungszeichen maskieren + PHP".
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#5 Guest_isphttp_*

  • Guests

Posted 22 November 2008 - 12:28 PM

 echo '

        
        
VServer XXL 30 GB Speicher HDD 512 MB Arbeitsspeicher 400 GB Traffic inklusive Eigene IP Adresse 64-Bit Dualcore CPU Reboot & Neuinstall VServer Control Panel SSH Root Zugang 14 OS IMAGES RAID 1 System Logical Volume Manager 100MBit Anbindung Garantierte Leistungen Mehr Details Jetzt Bestellen *Vertragslaufzeit 3 Monate. Preise inkl. MwST.
echo "\"ISPHTTP
" '; }

Thanks for Help, but code with the masked Code from pkeil not works, included iin Themes.php ;) you know what i mean?

#6 Derek Punzova

    Support Team Member

  • Moderators
  • 6181 posts

Posted 22 November 2008 - 01:02 PM

Well, you place an echo command within an other echo command.
It seems that you have no idea of the difference between php and html.

I can only recommend to learn some PHP basics, especially echo and masking once again.
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#7 Guest_isphttp_*

  • Guests

Posted 23 November 2008 - 01:01 AM

Thanks for Help, i have the Problem fixed;)

This is the Best Live Support Chat Scrip :mrgreen: Good Work

#8 Derek Punzova

    Support Team Member

  • Moderators
  • 6181 posts

Posted 24 November 2008 - 02:32 PM

Well done :D
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#9 Guest_tulipa_*

  • Guests

Posted 10 December 2008 - 01:27 PM

How can I find the javascript in computer to be turned on? When I go to see a movie or a video or even to download pictures it says that my javascript isn't on. So I tried to find the java but dont know where it would be located to be turned on. I do really want to look at videos and pictures of my family.

#10 Patrick Keil

    Administrator

  • Administrators
  • 3816 posts
  • LocationSingen, Germany

Posted 11 December 2008 - 07:39 AM

This may help:

http://jumk.de/javascript_e.html
http://www.renesas.com/support/guidelin ... script.htm





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users