Vapor Cigs Posted December 21, 2010 Share Posted December 21, 2010 I have tryed to edit the config.inc.php to show errors but still no errors are showing..I cant see home page of www.vapor.co.nz however backend is working fine.I cant remember doing anything and so im very confused , i have a lot of advertising live at the moment for the site in NZ and im really hoping someone can help me fix this asap , Any help would be greatly appreciated..Cheers RobSome posts suggest updating config file i have looked at this but they are both the same , ill be here hoping someone has some ideasThanks again Link to comment Share on other sites More sharing options...
MikeChoy Posted December 21, 2010 Share Posted December 21, 2010 did you do anything before your website is down....If it just went dead by itself, you should also check with your service provider. Yes...I was able to see the cache copy of your website. Link to comment Share on other sites More sharing options...
jhnstcks Posted December 21, 2010 Share Posted December 21, 2010 Do any internal pages on your site work?Are you using a custom theme, if so try changing back the the default Prestashop theme.Try uninstalling ALL the modules in the backend and see if that does anything, if it works install them one by one and then you can see what the problem is. Link to comment Share on other sites More sharing options...
MikeChoy Posted December 21, 2010 Share Posted December 21, 2010 I tried ping your site vapor.co.nz it returns ip 70.85.123.11 ? Is this your hosting company IP ? Link to comment Share on other sites More sharing options...
Vapor Cigs Posted December 21, 2010 Author Share Posted December 21, 2010 Hi Sorry about the slow reply we lost connection here just to add to the Moment ...No no inside pages are working, however all admin pages are working, My hosting comapny is seohost basically hostgator, ill try and uninstall modulas now , Yes its the oringal theme.As far as i can tell it just did this by itsself . I dont remember doing anything recently and dont know when this happened excatlyThanks again so much for your help..Update . I just uninstalled all the moduals still have the same problem , have reinstall them all again but still no homepage Link to comment Share on other sites More sharing options...
Vapor Cigs Posted December 21, 2010 Author Share Posted December 21, 2010 Hi I just noticed in my ftp software that the index.php has no content , when i try to copy and paste some in there from the origanal file it just keeps ending up blank again,, so i figure this must be the problem ? I tryed changing premissions but nothing and ideas ? Link to comment Share on other sites More sharing options...
jhnstcks Posted December 21, 2010 Share Posted December 21, 2010 Index.php file should look like this <?php include(dirname(__FILE__).'/config/config.inc.php'); if(intval(Configuration::get('PS_REWRITING_SETTINGS')) === 1) $rewrited_url = __PS_BASE_URI__; include(dirname(__FILE__).'/header.php'); $smarty->assign('HOOK_HOME', Module::hookExec('home')); $smarty->display(_PS_THEME_DIR_.'index.tpl'); include(dirname(__FILE__).'/footer.php'); ?> and index.tpl should contain only {$HOOK_HOME} Link to comment Share on other sites More sharing options...
Vapor Cigs Posted December 21, 2010 Author Share Posted December 21, 2010 Hi yer thats what im trying to do , but the index.php page in the root dirrectory just keeps clearing its self. each time i update it when i look at it again even in ftp its empty ?Can you think of any reason for this ?Sorry to be such a pain but i really cant figure it outCheers Rob Link to comment Share on other sites More sharing options...
r2get Posted December 21, 2010 Share Posted December 21, 2010 I cant help you with the clearing,,, and to find the problem can be a lot of work. I also had a problem like that and what i dit was:1. go to you SQL page and export a SQL file with all the contents2 download from the FTP all the folders3. delete al the content from the ftp4 instal a fres new prestashop on your siteafter the instal check if the fresh instal is working and then:reupload the files on your ftp begin with the folders, then go to the admin page and change the theme to the theme u was using and then upload the PHP and tpl files from the shop root 1 by one... after every file you refresh the page to see if it works. and when you upload a certain file and the page doesnt work after that, then maybe you can locate the problem.it seems alot but you can do that in 30 minutes............................................................ but see this as the last solution Link to comment Share on other sites More sharing options...
MikeChoy Posted December 22, 2010 Share Posted December 22, 2010 Hi yer thats what im trying to do , but the index.php page in the root dirrectory just keeps clearing its self. each time i update it when i look at it again even in ftp its empty ? In yr ftp program, first delete that file (your index.php) in your remote site (your hosting site) and then ftp that file from your local site again. Link to comment Share on other sites More sharing options...
Vapor Cigs Posted December 22, 2010 Author Share Posted December 22, 2010 Hi yer thats what im trying to do , but the index.php page in the root dirrectory just keeps clearing its self. each time i update it when i look at it again even in ftp its empty ? In yr ftp program, first delete that file (your index.php) in your remote site (your hosting site) and then ftp that file from your local site again. Yer i tryed that unfortunatly it didnt work , surly i dont have to reinstall everything again ? Link to comment Share on other sites More sharing options...
Vapor Cigs Posted December 22, 2010 Author Share Posted December 22, 2010 Could it be file permissions ? Not aloowing me to write to the index.php file ? Or something like that ? Link to comment Share on other sites More sharing options...
Vapor Cigs Posted December 22, 2010 Author Share Posted December 22, 2010 Solved:Wow sorry guys it was a simple problem the hosting account add used its quoter so i had to up the qouter limit. gezzz talk about a mission thanks to all that helped Link to comment Share on other sites More sharing options...
Vapor Cigs Posted December 22, 2010 Author Share Posted December 22, 2010 Ok i got that fixed but now the site runs very slowly and i keep getting a connection error , i must have changed something while trying to fix this other problem , anyone got any ideas ? Link to comment Share on other sites More sharing options...
Vapor Cigs Posted December 22, 2010 Author Share Posted December 22, 2010 Hi , Any ideas would be really appreciated its a very busy time of year as we all no and im losing out big time,, Fixed one problem only to end up with the site not loading , i keep getting a conection error , homepage will load fine , 3 days ago the site was a rocket i must have changed something while trying to fix the last problem , i did unistall all moduals before and reinstalled could that have done this ? I did re generate a .htacess file . also i cant find a php.inc file could it be that ? Any ideas would be great cheers I have uninstalled all moduals again but still even with them unistalled the back end images are having problems loading, so it must be a simply setting somewhere thats gone worng..Is anyone using the beta version 1.4 for a real live shop ? im temped just to reinstall a new version of the prestashop on a new server to get this going again, , Link to comment Share on other sites More sharing options...
need4speed Posted December 23, 2010 Share Posted December 23, 2010 I had a similar problem which made the shop really slow and I got like 16000 of smarty .tpl filesCheck your smarty settings$smarty->force_compile = true // to pass "false" when put into productionTry set it to false and delete all of your .tpl files in the directory /tools/smarty/compileexcept from the index.php file which is also in the compile folder. Link to comment Share on other sites More sharing options...
Recommended Posts