legin Posted May 22, 2013 Share Posted May 22, 2013 Hi everyone, this is my first post, I am having problems with my shop, all of a sudden my site just went down, I turned on the error debug and it says: Fatal error: Call to undefined method Shop::initialize() in /home/legin/permanentoffert.com/config/config.inc.php on line 90 I read in other posts that might be solved deleting the class_index.php file but I did that, my site went back to life and after a few minutes again went down, I really need to fix this.... I have the Prestashop 1.5.4.1, the site is: www.permanentoffert.com Please people I really need your help, thank you very much!!!! P.S.: The image attached is from my FTP client, it shows how many time just rename the class_index.php file Link to comment Share on other sites More sharing options...
Bill Dalton Posted May 22, 2013 Share Posted May 22, 2013 You can try delete two folders and replace them. Delete both the classes directory and controllers directory. Replace them from a copy of PS 1.5.4.1. There have been many reports of older files not being replaced in auto upgrades. This will work or not ... but it won't hurt to try. Link to comment Share on other sites More sharing options...
legin Posted May 22, 2013 Author Share Posted May 22, 2013 Hi, thanks for replaying... I did try to delete and replace those files and I still getting above... Do you have another way to solve it? Link to comment Share on other sites More sharing options...
Bill Dalton Posted May 22, 2013 Share Posted May 22, 2013 You could try deleting "again" the class_index.php. Link to comment Share on other sites More sharing options...
legin Posted May 22, 2013 Author Share Posted May 22, 2013 Ok, I'll try that... Link to comment Share on other sites More sharing options...
legin Posted May 22, 2013 Author Share Posted May 22, 2013 Ok, I did that, deleted the class_index.php file, everything came up to life again, went to BO and click the modules tab, after that tryed to see my FO and the same error appeared again Link to comment Share on other sites More sharing options...
Bill Dalton Posted May 22, 2013 Share Posted May 22, 2013 Let see if we can get any info from the /config/defines.inc.php file, and change the following line: /* Debug only */ define('_PS_MODE_DEV_', true); You will need to keep deleting class_index.php to get this thing to fire long enough to hopefully get more information from the error event. Link to comment Share on other sites More sharing options...
legin Posted May 22, 2013 Author Share Posted May 22, 2013 Bill my defines.inc.php has the debug line just as you put it above... Do you want me to change it to false??? Link to comment Share on other sites More sharing options...
Bill Dalton Posted May 22, 2013 Share Posted May 22, 2013 No leave it set to true until we get this sorted... I'm sorry I missed in your first post that you had already enable error mode. Have you added or changed any modules recently? Link to comment Share on other sites More sharing options...
legin Posted May 22, 2013 Author Share Posted May 22, 2013 no, nothing, I prepared my shop locally, then I migrated to my server everything went ok, all of a sudden when I was trying to load some images for my products the site went down. I also deactivated some modules like advertising module, then I move the supliers modules and the manufacture modules to the other column, that's all! Link to comment Share on other sites More sharing options...
Bill Dalton Posted May 22, 2013 Share Posted May 22, 2013 This could be so many things I could ask you questions all day. For example have you ever had a completed shop on this server before? Many of the problems could be related to permissions or environment. You could create a new directory and do a fresh install of just the default Prestashop and see how that runs on your server ... Link to comment Share on other sites More sharing options...
legin Posted May 22, 2013 Author Share Posted May 22, 2013 This is my first shop on this server, but I have a couple of site on this server too running joomla and Wordpress... I'll do a fresh install si how it runs... I'll let you know how it goes ok? thanx very much! 1 Link to comment Share on other sites More sharing options...
legin Posted May 23, 2013 Author Share Posted May 23, 2013 (edited) Hi Bill, since yesterday I tryed to install a fresh store but something wrong is happening, as you see in the image attached the installation progress is not appearing... what can I do??? this is too wired, I never had this kind of issue... Edited May 23, 2013 by legin (see edit history) Link to comment Share on other sites More sharing options...
Bill Dalton Posted May 23, 2013 Share Posted May 23, 2013 Are you sure you set all file write permissions? Link to comment Share on other sites More sharing options...
legin Posted May 23, 2013 Author Share Posted May 23, 2013 it is strange because when I first installed the shop everything went ok... Now I am changing the permissions and I let you now, thanx for replaying! Link to comment Share on other sites More sharing options...
legin Posted May 23, 2013 Author Share Posted May 23, 2013 Hi Bill!!! I have change the permissions and I am not able to install prestashop, it's too wired this, I don't know what's going on.... Link to comment Share on other sites More sharing options...
Bill Dalton Posted May 24, 2013 Share Posted May 24, 2013 legin, you sound like you have experience installing applications. You mentioned you have installed joomla and Wordpress on this server. So if you are sure your database and permissions have been set as per the Prestashop install http://doc.prestasho...Getting+Started It may be time to contact your host. Let them know of this problem. Let them know you are setting file permissions but they don't seem to work. It may be that their file settings are overriding yours. I'm not saying that this is happening. But if you are sure you have set up everything correctly then asking your host to take a look is a good next step. Link to comment Share on other sites More sharing options...
legin Posted May 24, 2013 Author Share Posted May 24, 2013 Ok Bill, thanx for everything, I'll contact DreamHost support and let's see what they say... In the mean while, I downloaded again prestashop 1.5.4.1 and I am transfering the files entirely, in case that the first time didn't transfer everything, I erase the database, and created a new one... So I let you now how it goes... P.S.: I read a toturial to migrate PS from local to remote, I saw 2 methods, 1 doing a fresh installing then erasing everithing than the config file, and importing DB from local... the second one is just copy/paste everything and the editting the settings.inc.php file putting my server data, also editing the SQL file putting also server data. What I will do is second one, as the first did not work, so you recomend that method?? THANX! 1 Link to comment Share on other sites More sharing options...
Bill Dalton Posted May 24, 2013 Share Posted May 24, 2013 Yeah that's about it. Just remember that on Windows you usually don't need to worry about file permissions. This is because in most cases the software is installed by an administrator account. Files on Linux server systems require that the permissions outlined must be set, regardless of the install method. Sounds like you have everything covered. I'm sure we'll hear good news from you soon. 1 Link to comment Share on other sites More sharing options...
legin Posted May 24, 2013 Author Share Posted May 24, 2013 I hope so too!! ok, thanx I'll let you now how I'm improving it.... Link to comment Share on other sites More sharing options...
Recommended Posts