Jump to content

V.1.5.4.1 Install Modules: An error occured, pls help, URGENT.


Recommended Posts

Hi everyone. I was installing prestashop via FTP on my server (it a windows server, hosted on Microsoft Azure) but the installation fails on "Install Modules: An error occured during installation" at 56% and the log displays the following:

 

[09-Jul-2013 11:53:21 Europe/Copenhagen] PHP Fatal error: Uncaught exception

'PrestaShopException' with message 'Property reinsuranceClass->id_shop is empty' in C:\DWASFiles\Sites\GANshop\VirtualDirectory0\site\wwwroot\classes\ObjectModel.php:837

 

Stack trace:

#0 C:\DWASFiles\Sites\GANshop\VirtualDirectory0\site\wwwroot\classes\ObjectModel.php(265): ObjectModelCore->validateFields()

 

#1 C:\DWASFiles\Sites\GANshop\VirtualDirectory0\site\wwwroot\classes\ObjectModel.php(465): ObjectModelCore->getFields()

 

#2 C:\DWASFiles\Sites\GANshop\VirtualDirectory0\site\wwwroot\classes\ObjectModel.php(427): ObjectModelCore->add(true, false)

 

#3 C:\DWASFiles\Sites\GANshop\VirtualDirectory0\site\wwwroot\modules\blockreinsurance\blockreinsurance.php(359): ObjectModelCore->save()

 

#4 C:\DWASFiles\Sites\GANshop\VirtualDirectory0\site\wwwroot\modules\blockreinsurance\blockreinsurance.php(55): Blockreinsurance->installFixtures()

 

#5 C:\DWASFiles\Sites\GANshop\VirtualDirectory0\site\wwwroot\install\models\install.php(648): Blockreinsurance->install()

 

#6 C:\DWASFiles\Sites\GANshop\VirtualDirector in C:\DWASFiles\Sites\GANshop\VirtualDirectory0\site\wwwroot\classes\ObjectModel.php on line 837

 

This is for my new work and it is very important to have it up and running, can someone please tell me how to fix this?

 

I have tried to delete everything and re-upload the (un-zipped) zip file with both cyberduck and filezilla FTP but no luck!

 

Tried with Chrome, Firefox on both windows and mac and with IE on windows.

 

Thanks in advance!

post-626087-0-75066900-1373364871_thumb.png

Link to comment
Share on other sites

Anyone? Please guys I really need help on this! I have tried ALL DAY without luck, always get stuck at that install module. I am running a mysql database on which I have "only" 20mb of space at the moment, but I checked and that is not an issue as only 7 are used by the time it fails. Please someone!

Link to comment
Share on other sites

Update:

 

Still not working. I think the db i am using might be the problem. only 20mb and must have some restrictions. I tried to deploy locally on my machine (MAMP), went fast, no problem.

 

Then I tried to deploy locally using this mysql with only 20mb I got at "clearDB" via microsoft AZURE and it failed like i explained this morning. (this was a hint!)

 

Then I tried deploy still locally again but using a mysql db I have hosted on another server (via webhosting.dk) and it worked. (so obviously I would say it is the database the problem)

 

However when I try to deploy to my website I have hosted on AZURE if I try to use this previous mysql db that I have hosted with webhosting.dk (which I just tried and worked fine) now it tells me that Database Server is not found. Please verify the login, password and server fields (DbPDO)

 

I know the parameters ARE CORRECT as I tried to both copy paste them from my control panel on webhosting.dk and also write them carefully.

 

Can someone please help me out here?

Link to comment
Share on other sites

Solved (so far)

 

The problem was due the database used for the prestashop. For some reason prestashop did not like the database on "ClearDB" setup via MS Azure, just like the one used to backup another website I have working! Go Figure…

Now I don't know what the EXACT issue is, even though I suspect the problem must be in the fact that it is a "free version" with "only" 20MB of space and/or the warning we are getting from ClearDB saying: " Database size meets or exceeds tier quota; database write privileges been disabled. Upgrade your database plan to get more storage."

 

So I thought about trying using one of the many MySQL database I have on the server where my father in law's company is hosted (at webhosting.dk), just to check if this would solve the issue. So I installed prestashop locally and:

  1. Use a local Database --> Succeded.
  2. Use a remote database from my father in laws company server --> Succeded.

So at this point I thought "well it was definitely a database issue" and went ahead and install prestashop on xxxx.com using one of the father in law's company MySQL database. All well right? WRONG. For some reason prestashop now would not connect to it either, which left me thinking.

 

In the end I turned on my old mac at home, left it on running a local web server and MySQL database and installed prestahop on corruptionmanager.com using my home Mac-MySQL database, and this worked like a charm.

 

Of course this is only a (very) temporary solution, but it has been helpful to isolate the problem so that now we can go ahead and either upgrade the account at ClearDB or get our MySQL databases hosted somewhere else.

Edited by manuel.maestrini (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...