Urgent Need help, Store Closed!!!

I have upgraded my files now i can’t access admin and my website.



cant_find_config_parameter:config.http_host



Please help

Try:

[url]http://forum.cs-cart.com/showthread.php?t=12971[/url]



Does your config file have the correct settings?



Check permissions on folders and the config file.



Thant’s all I have at the moment.

I tried but not working everything was okay on config file, but still getting same error

config.local.php



does that file exist?

Absolutely there is a file there in ftp.:(.



I see some of my core files are changed, but when i replace those files with previous version like 2.0.6 still gets same problem. Please help

file.jpg

probably gonna have to give someone access to your ftp to look at it. cant really troubleshoot from screen-shots.

[quote name=‘miracles’]I have upgraded my files now i can’t access admin and my website.



cant_find_config_parameter:config.http_host



Please help[/QUOTE]





Here are a couple other things to check that I found on this forum where another user was having the same issue.



[url]http://forum.cs-cart.com/showthread.php?t=12971[/url]

[quote name=‘CutRiteFX’]Here are a couple other things to check that I found on this forum where another user was having the same issue.



[url]http://forum.cs-cart.com/showthread.php?t=12971[/url][/QUOTE]



Yeah i already seen this topic but i can’t find the solution.

There were 2 users on that thread that were having that problem. You may want to contact them directly to see how they fixed as I can see that you are down. That sucks wish I had the answer for you.

The upgrade went horribly wrong, but database and file system. He needs to restore everything from a backup. :frowning:

I ask my webhost to restore my files but they said



Unfortunately, we do not have an available backup of your website files at this time due to our disk/inode usage limits. If you can provide us with your own backup file, we can restore your website at no additional cost. I apologize for the inconvenience.



Now what is the solution, i don’t want to lose my website. It is very hard to built again.



Please help, this upgrade progress sucks.

Hmm… sound like you guys need a miracle.



Or perhaps a bunch of miracles. :wink:

Didn’t you create and download a backup of your files and DB to your local computer prior to attempting the upgrade? They can restore from these.



Bob

Absolutely yes. Is there any miracle guy who can really show me the magic

I think you got PWNED.



Speaking of PWNED, who’s the owner of the config.local.php file? nobody?



Check your file permissions and the file ownership.



Turn on all PHP errors and debugging.

nope i checked all



Where should i download the 2.0.8 zip file. I didn’t find this in filearea.

eeeeeeehhhhhhooooooooooo :smiley:



My old backup was saved me. However my all changes are gone but this will take few minutes to do restore manually… Now i am checking others file…

[quote name=‘miracles’]eeeeeeehhhhhhooooooooooo :smiley:



My old backup was saved me. However my all changes are gone but this will take few minutes to do restore manually… Now i am checking others file…[/QUOTE]





I had a similar issue, I’m with media temple and they set things up differently. Anyway… Here’s the fix that Yuri sent me.



Look for in the “[COLOR=“DarkGreen”]core/fn.control.php[/COLOR]”



[COLOR=“Red”]Find the section:[/COLOR]



function fn_dispatch()

{

Profiler::checkpoint(‘After init’);



$regexp = “/^[a-zA-Z0-9_+]+$/”;

$view = & Registry::get(‘view’);

$run_controllers = true;



//If $config[‘http_host’] was different from the domain name, there was redirection to $config[‘http_host’] value.

if ((defined(‘HTTPS’) ? Registry::get(‘config.https_host’) : Registry::get(‘config.http_host’)) != REAL_HOST && $SERVER[‘REQUEST_METHOD’] == ‘GET’ && !defined(‘CONSOLE’)) {

fn_redirect((defined(‘HTTPS’) ? Registry::get(‘config.https_location’) : Registry::get(‘config.http_location’)) . ‘/’ . Registry::get(‘config.current_url’));

}





[COLOR=“Red”]And Replace with:[/COLOR]



function fn_dispatch()

{

Profiler::checkpoint(‘After init’);



$regexp = "/^[a-zA-Z0-9
+]+$/";

$view = & Registry::get(‘view’);

$run_controllers = true;



//If $config[‘http_host’] was different from the domain name, there was redirection to $config[‘http_host’] value.

/if ((defined(‘HTTPS’) ? Registry::get(‘config.https_host’) : Registry::get(‘config.http_host’)) != REAL_HOST && $_SERVER[‘REQUEST_METHOD’] == ‘GET’ && !defined(‘CONSOLE’)) {

fn_redirect((defined(‘HTTPS’) ? Registry::get(‘config.https_location’) : Registry::get(‘config.http_location’)) . ‘/’ . Registry::get(‘config.current_url’));

}
/







-------------------

This was a weird fix for me. When I upgraded my whole admin side went blank and the storefront was 404. No matter how many times I uploaded again it was screwed. I do have to say thanks to the CS Cart team for finding fixes. They actually responded in hours on this one.



Robert

what i have done i just overwrite my backup files to current files and everything goes okay.