advancedfeaturesvalues icon indicating copy to clipboard operation
advancedfeaturesvalues copied to clipboard

Install error

Open Rytiss opened this issue 9 years ago • 14 comments

I'm getting an installation error: Class FeatureValueOverrideOriginal54f9b22617779 does not exist.

ID changes at random when retrying installation.

Rytiss avatar Mar 06 '15 13:03 Rytiss

What is your Prestashop version?

jdanthinne avatar Mar 06 '15 15:03 jdanthinne

1.6.0.13 (I see there is 1.6.0.14 now...)

Pagarbiai, Rytis Slatkevičius +370 670 77777 On Mar 6, 2015 5:22 PM, "Jérôme Danthinne" [email protected] wrote:

What is your Prestashop version?

— Reply to this email directly or view it on GitHub https://github.com/jdanthinne/advancedfeaturesvalues/issues/1#issuecomment-77575988 .

Rytiss avatar Mar 07 '15 06:03 Rytiss

This is strange. I've developed the module using 1.6.0.13 as well. How did you install the module? What is the name of the folder you put in /modules?

jdanthinne avatar Mar 07 '15 08:03 jdanthinne

I used "advancedfeaturesvalues" as the name, tried to install through the modules panel. All files were changed to 777 permissions (although in the initial test I did not do that). I also tried the 777 on the whole prestashop directory, did not work.

Manually copying the files and modding the DB worked (although I have one bug, I'll make a pull request on Monday).

Pagarbiai / Sincerely Rytis Slatkevičius +370 670 77777

On Sat, Mar 7, 2015 at 10:34 AM, Jérôme Danthinne [email protected] wrote:

This is strange. I've developed the module using 1.6.0.13 as well. How did you install the module? What is the name of the folder you put in /modules?

— Reply to this email directly or view it on GitHub https://github.com/jdanthinne/advancedfeaturesvalues/issues/1#issuecomment-77679566 .

Rytiss avatar Mar 07 '15 11:03 Rytiss

Can you try the new version I've just pushed. It includes a .zip archive for easy install, and clear the caches on (un)install. Still working fine for me on a fresh Prestashop install.

jdanthinne avatar Mar 07 '15 16:03 jdanthinne

I can see the bug now. I've just tried to install the module on another hosted website and getting the same error… Still searching for the cause (thought it was permissions, but 777 didn't change the error).

jdanthinne avatar Mar 09 '15 09:03 jdanthinne

Ok, it seems that this is working fine with PHP 5.5 but not 5.4. Trying to figure why.

jdanthinne avatar Mar 09 '15 10:03 jdanthinne

Hi, Did you manage to figure out the PHP 5.4 issue? Thank you.

ValentinMilea avatar Mar 12 '15 11:03 ValentinMilea

No, not yet. If someone knows about 5.4 / 5.5 differences (in classes inheritance and overrides), he's welcome to have a look.

jdanthinne avatar Mar 12 '15 11:03 jdanthinne

J'avais le même souci avec AdminFeaturesController, j'ai renommé le fichier en : _AdminFeaturesController.php et ça à fonctionné.

daxpunk avatar Mar 18 '15 15:03 daxpunk

I've just tried that, but no change…

jdanthinne avatar Mar 18 '15 16:03 jdanthinne

To clarify, what I mean by 'no change' is that the install process is ok now, but the renamed file is not installed as an override. So, pointless…

jdanthinne avatar Mar 18 '15 17:03 jdanthinne

Can you try the latest version? I've made some commits that seem to fix the installation. I've managed to install the module with PHP 5.2.17.

jdanthinne avatar Mar 20 '15 14:03 jdanthinne

Hi,

I just installed the module succesfully. I will get back with more feedback after I play with it a little.

Thank you, -Valentin

ValentinMilea avatar Mar 23 '15 13:03 ValentinMilea