Jump to content

Home Page Just Stopped Showing , Now Working But Way To Slow


Recommended Posts

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 Rob

Some posts suggest updating config file i have looked at this but they are both the same , ill be here hoping someone has some ideas
Thanks again

Link to comment
Share on other sites

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

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 excatly

Thanks 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

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

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

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 out

Cheers Rob

Link to comment
Share on other sites

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 contents
2 download from the FTP all the folders
3. delete al the content from the ftp
4 instal a fres new prestashop on your site

after 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 :P

Link to comment
Share on other sites

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

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

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

I had a similar problem which made the shop really slow and I got like 16000 of smarty .tpl files

Check your smarty settings

$smarty->force_compile = true // to pass "false" when put into production

Try set it to false and delete all of your .tpl files in the directory /tools/smarty/compile

except from the index.php file which is also in the compile folder.

Link to comment
Share on other sites

×
×
  • Create New...