Website moved.. Errors on page. Wont show.
-
alfblack
Website moved.. Errors on page. Wont show.
Here's what happened..
I upgraded my hosting to a higher package.
I got moved and the directories were changed.
I edited the config.php but I'm now getting an error like this...
/home/USERNAME/public_html/core/lib/smarty/Smarty.class.php
In admin, trying to preview a page.
Fatal error: Smarty error: [in preview:cmspreviewJCpHRW line 45]: syntax error: unrecognized tag 'breadcrumbs' (Smarty_Compiler.class.php, line 580) in /home/mergelan/public_html/core/lib/smarty/Smarty.class.php on line 1088
Any suggestions on how to go about fixing this?
Is there a hardcoded path in the database?
** oh, I editing the path changing "USERNAME"
Another thing, I tried to put the offline message. All it did was blank the page.
I upgraded my hosting to a higher package.
I got moved and the directories were changed.
I edited the config.php but I'm now getting an error like this...
/home/USERNAME/public_html/core/lib/smarty/Smarty.class.php
In admin, trying to preview a page.
Fatal error: Smarty error: [in preview:cmspreviewJCpHRW line 45]: syntax error: unrecognized tag 'breadcrumbs' (Smarty_Compiler.class.php, line 580) in /home/mergelan/public_html/core/lib/smarty/Smarty.class.php on line 1088
Any suggestions on how to go about fixing this?
Is there a hardcoded path in the database?
** oh, I editing the path changing "USERNAME"
Another thing, I tried to put the offline message. All it did was blank the page.
-
alfblack
Re: Website moved.. Errors on page. Wont show.
Hum.. Sorry, I pasted the wrong error message.
And I cant seem to make it work again.
Now, Everything is always blank. Even when I turn off the site maintenace message.
I tried removing the breadcrumb in the template. So far, no effect. *sigh*
Now, Everything is always blank. Even when I turn off the site maintenace message.
I tried removing the breadcrumb in the template. So far, no effect. *sigh*
-
alfblack
Re: Website moved.. Errors on page. Wont show.
Checking the file Smarty.class.php on line 1088
/**
* trigger Smarty error
*
* @param string $error_msg
* @param integer $error_type
*/
function trigger_error($error_msg, $error_type = E_USER_WARNING)
{
trigger_error("Smarty error: $error_msg", $error_type);
}
It's a error reporting code?
/**
* trigger Smarty error
*
* @param string $error_msg
* @param integer $error_type
*/
function trigger_error($error_msg, $error_type = E_USER_WARNING)
{
trigger_error("Smarty error: $error_msg", $error_type);
}
It's a error reporting code?
-
alfblack
Re: Website moved.. Errors on page. Wont show.
OMG, looks like there's extensive damage to the CMS. There are a few wierdness to the admin menu.
Extensions > tag
it's Empty!!
Extensions > TinyMCE
"TinyMCE Interface
--Add Me - module:TinyMCE string:stripbackgroundtags--:"
Hum... I think I'll just reinstall this thing. But question is. What the heck happend to this to damage it so??!
Extensions > tag
it's Empty!!
Extensions > TinyMCE
"TinyMCE Interface
--Add Me - module:TinyMCE string:stripbackgroundtags--:"
Hum... I think I'll just reinstall this thing. But question is. What the heck happend to this to damage it so??!
-
westis
Re: Website moved.. Errors on page. Wont show.
hi alfblack,
Sorry can't help you with your first errors, hopefully someone else can. But the -- Add Me -- message you get because a string in that module is not translated to your language.
Personally I would prefer if the English string is used instead if it's not translated to the language used, to avoid this bug-like Add Me message, that may cause confusion to people who don't know why it's there. But the intention is that it should make people aware that there is a string that needs translation...

Sorry can't help you with your first errors, hopefully someone else can. But the -- Add Me -- message you get because a string in that module is not translated to your language.
Personally I would prefer if the English string is used instead if it's not translated to the language used, to avoid this bug-like Add Me message, that may cause confusion to people who don't know why it's there. But the intention is that it should make people aware that there is a string that needs translation...
-
alfblack
Re: Website moved.. Errors on page. Wont show.
"module is not translated to your language. "
The thing is, I am using english. This only happened on the move (or my attempt of).
The thing is, I am using english. This only happened on the move (or my attempt of).
Re: Website moved.. Errors on page. Wont show.
It still seems related to config.php to me. Double and triple check that all of the fields are correct.
-
alfblack
Re: Website moved.. Errors on page. Wont show.
"either during the move, not all files were moved (somtime ftp client acts weird)"
Ahh. I asked the site admin to gzip it on ungzip it for me by passing the ftp problem. Unless the admin fouled up in that it should be ok.
"or there are old files in the /tmp/cache, but I guess you didn't forget to clear the cache?"
I did clear the cache.. later in the middle of diagnostics.
"It still seems related to config.php to me."
Possible. And it was possible I wasnt editing the live config.php. No matter, I've copied the contents and nuked the site to rebuild from scratch. Luckly it's a small site and most of the work is done (image work).
Hum.. I'll need to make another practice site to master moving a site to another area (even another directory).
Well, Thanks to all for the suggestions and help.
Ahh. I asked the site admin to gzip it on ungzip it for me by passing the ftp problem. Unless the admin fouled up in that it should be ok.
"or there are old files in the /tmp/cache, but I guess you didn't forget to clear the cache?"
I did clear the cache.. later in the middle of diagnostics.
"It still seems related to config.php to me."
Possible. And it was possible I wasnt editing the live config.php. No matter, I've copied the contents and nuked the site to rebuild from scratch. Luckly it's a small site and most of the work is done (image work).
Hum.. I'll need to make another practice site to master moving a site to another area (even another directory).
Well, Thanks to all for the suggestions and help.
-
alfblack
Re: Website moved.. Errors on page. Wont show.
Did I err?
Yup. I grooed.
I was in the middle of re-building the site. I accidentally closed the browser window (DOH)
Now, it's telling me..
Site down for maintenance.
I cant continue with the installation. I was thinking of nuking the config.php to restart installation but it's still a zero byte file. What should I do?
Yup. I grooed.
I was in the middle of re-building the site. I accidentally closed the browser window (DOH)
Now, it's telling me..
Site down for maintenance.
I cant continue with the installation. I was thinking of nuking the config.php to restart installation but it's still a zero byte file. What should I do?
Re: Website moved.. Errors on page. Wont show.
If it's a 0 byte file, the installer should be starting on it's own.
I'm not quite sure where you are at. You have a site in the database, but the install is messed up?
I'm not quite sure where you are at. You have a site in the database, but the install is messed up?
-
alfblack
Re: Website moved.. Errors on page. Wont show.
I'm sorry if I was not clear.
I have pointed my browser to the site. Installer started up ok. Everything checked out ok. I'n my excitment. I accidentally closed the window.
WHen I re-opened the browser and pointed it to the site. It shows me the maintenance message. I guess it was in the middle of it but got cut off.
I need to know how to "restart" the installation process. Any semaphore file to delete? or something.
I have pointed my browser to the site. Installer started up ok. Everything checked out ok. I'n my excitment. I accidentally closed the window.
WHen I re-opened the browser and pointed it to the site. It shows me the maintenance message. I guess it was in the middle of it but got cut off.
I need to know how to "restart" the installation process. Any semaphore file to delete? or something.
Re: Website moved.. Errors on page. Wont show.
Oh, ok. That makes sense.
tmp/cache/SITEDOWN is the file you need to remove. It's normally done after install is complete.
tmp/cache/SITEDOWN is the file you need to remove. It's normally done after install is complete.
-
alfblack
Re: Website moved.. Errors on page. Wont show.
Site rebuild is going fine now.
thanks again.
Checking the tar the admins made on my windows machine. It does seem the archive is incomplete.
But I dont know if it's just because of winrar. I've experinced this before. The tar archive is actually complete but windows winrar cant completely untar it.
*sigh* I miss my nix machine since it died due to hardware failure.
Checking the tar the admins made on my windows machine. It does seem the archive is incomplete.
*sigh* I miss my nix machine since it died due to hardware failure.

