Page 1 of 1
Error: at line 702 in file /var/www/vhosts/sportmassagefries
Posted: Sat May 18, 2013 4:25 am
by Emma77
HELP... I've moved a database to a new server (also renamed it) copied all files etc. but now i get this error.. i can get into the backend but the site will not work. what do i need to do? Will a complete new installation overwrite my database? the site:
www.sportmassagefriesland.nl
THANKS
Syntax Error in template "module_db_tpl:News;summarySummary_Simplex" on line 25 "<h2><a href='{$entry-?phpMyAdmin=r2SGHg-BrdPUM5%2Cxurw%2C3JEFGE8>moreurl}' title='{$entry->title|cms_escape:htmlall}'>{$entry->title|cms_escape}</a></h2>" - Unexpected "?"
Re: Error: at line 702 in file /var/www/vhosts/sportmassagef
Posted: Sat May 18, 2013 7:25 am
by Rolf
I have had the same once and seen it seceral times at the forum. It seems to be a problem/bug when doing a database export in PHPMyAdmin...
When opening pages and templates you see thing like:
Code: Select all
{$entry-?phpMyAdmin=r2SGHg-BrdPUM5%2Cxurw%2C3JEFGE8>moreurl}
It should be
You can fix it by removing the ?phpMyAdmin=blahblah from the templates. Most of the times it will be in a link.
Note: '>' = '>'
Hope this helps,
Rolf
Re: Error: at line 702 in file /var/www/vhosts/sportmassagef
Posted: Sat May 18, 2013 8:37 am
by velden
De geexporteerde database (.sql file?) zou je daar waarschijnlijk eenvoudig op kunnen doorzoeken. En als het heel vaak terugkomt in die file zou je het wellicht met een slimme zoek en vervang functie (regex) kunnen oplossen.
Daarna de database op de nieuwe server leegmaken en de .sql file opnieuw importeren. MITS je niets wezenlijks veranderd hebt na de migratie, zoals een upgrade o.i.d.
Re: Error: at line 702 in file /var/www/vhosts/sportmassagef
Posted: Sat May 18, 2013 10:05 am
by Rolf
velden wrote:De geexporteerde database (.sql file?) zou je daar waarschijnlijk eenvoudig op kunnen doorzoeken. En als het heel vaak terugkomt in die file zou je het wellicht met een slimme zoek en vervang functie (regex) kunnen oplossen.
Not all users know how to do that

Re: Error: at line 702 in file /var/www/vhosts/sportmassagef
Posted: Sat May 18, 2013 10:09 am
by velden
Rolf wrote:velden wrote:De geexporteerde database (.sql file?) zou je daar waarschijnlijk eenvoudig op kunnen doorzoeken. En als het heel vaak terugkomt in die file zou je het wellicht met een slimme zoek en vervang functie (regex) kunnen oplossen.
Not all users know how to do that

Klopt, maar iemand die een website kan migreren zou tenminste de .sql moeten kunnen lezen en aanpassen.
Dan heb je waarschijnlijk alvast snel de probleem-plekken gevonden.
Hoe je het dan aanpast laat ik even aan de gebruiker zelf over.
Re: Error: at line 702 in file /var/www/vhosts/sportmassagef
Posted: Sat May 18, 2013 10:26 am
by Rolf
velden wrote:Klopt, maar iemand die een website kan migreren zou tenminste de .sql moeten kunnen lezen en aanpassen.
In a perfect world
By the way, we are on the
English board...

Re: Error: at line 702 in file /var/www/vhosts/sportmassagef
Posted: Sat May 18, 2013 12:22 pm
by Emma77
Thanks for your solutions!

Since i didn't want the new website to be offline too long i made a fresh install and added and copied all pages. A lot of work but it is running now
I have to move a few other ones so i will definately try your solutions
Thanks guys!
Now i will post a MicroTiny problem in another topic

First i will check if the solution is not already on this forum.
G'day
Re: Error: at line 702 in file /var/www/vhosts/sportmassagef
Posted: Sat May 18, 2013 1:34 pm
by Rolf