- Posts: 17
- Thank you received: 0
Google Analytics code messed up index.php file
-
Meepp
Inactive member - Topic Author
- New Member
Less
More
10 years 10 months ago #37006
by Meepp
Google Analytics code messed up index.php file was created by Meepp
Hi HotJoomla Team,
I created a Google Analytics .php file containing the Analytics code and then placed this command <?php include_once("analyticstracking.php") ?> just under the <body> on template/clinic/index.php file.
However, it seems to have corrupted my index.php file as I cannot get the website to load and instead get this error "Parse error: syntax error, unexpected $end in /home3/marksong/public_html/templates/hot_clinic/index.php on line 342"
I not sure how to correct it. Do you have any suggestions. I will send you the FTP details via 'report to moderator' link.
Thanks, I appreciate any help you can give me as I somehow managed to corrupt my backup as well.
I created a Google Analytics .php file containing the Analytics code and then placed this command <?php include_once("analyticstracking.php") ?> just under the <body> on template/clinic/index.php file.
However, it seems to have corrupted my index.php file as I cannot get the website to load and instead get this error "Parse error: syntax error, unexpected $end in /home3/marksong/public_html/templates/hot_clinic/index.php on line 342"
I not sure how to correct it. Do you have any suggestions. I will send you the FTP details via 'report to moderator' link.
Thanks, I appreciate any help you can give me as I somehow managed to corrupt my backup as well.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 10 months ago #37018
by ivan.milic
Replied by ivan.milic on topic Google Analytics code messed up index.php file
Post your index.php
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 10 months ago #37019
by ivan.milic
Replied by ivan.milic on topic Google Analytics code messed up index.php file
Your ftp setting does not work. I tried fileZilla and total commander.
Response: 331 User xxxxxxxxxxxxxxxxxxxxxxxxxxxxx OK. Password required
Command: PASS ********
Response: 530 Login authentication failed
Error: Critical error
Error: Could not connect to server
Response: 331 User xxxxxxxxxxxxxxxxxxxxxxxxxxxxx OK. Password required
Command: PASS ********
Response: 530 Login authentication failed
Error: Critical error
Error: Could not connect to server
Please Log in to join the conversation.
-
Meepp
Inactive member - Topic Author
- New Member
Less
More
- Posts: 17
- Thank you received: 0
10 years 9 months ago #37106
by Meepp
Replied by Meepp on topic Google Analytics code messed up index.php file
Hi Ivan,
I have attached my index file, as requested. I will send you a new ftp login via private mail.
Thanks for your help,
I have attached my index file, as requested. I will send you a new ftp login via private mail.
Thanks for your help,
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 9 months ago - 10 years 9 months ago #37117
by ivan.milic
Replied by ivan.milic on topic Google Analytics code messed up index.php file
To attach file you need to zip it first.
FTP again does not work, but FTP is relay not needed just post that file.
FTP again does not work, but FTP is relay not needed just post that file.
Last edit: 10 years 9 months ago by ivan.milic.
Please Log in to join the conversation.
-
Meepp
Inactive member - Topic Author
- New Member
Less
More
- Posts: 17
- Thank you received: 0
10 years 9 months ago #37169
by Meepp
Replied by Meepp on topic Google Analytics code messed up index.php file
Hi Ivan,
So sorry about the index file. I've re-attached it as a .zip file.
Also, my apologies that you've been unable to get into the FTP account for that website. I've been able to open it using CuteFTP 8.3 but it initially tells me there is no such folder, yet it brings up the screen and when I use my up-arrow button (twice)it pulls up all the files, no problem. I've done heaps of FTP setups but clearly I've done something dumb with this one. Once again, my apologies.
Thank you for your help.
So sorry about the index file. I've re-attached it as a .zip file.
Also, my apologies that you've been unable to get into the FTP account for that website. I've been able to open it using CuteFTP 8.3 but it initially tells me there is no such folder, yet it brings up the screen and when I use my up-arrow button (twice)it pulls up all the files, no problem. I've done heaps of FTP setups but clearly I've done something dumb with this one. Once again, my apologies.
Thank you for your help.
Please Log in to join the conversation.
Time to create page: 0.263 seconds