- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 23.08.21, 10:19
- Opened by: Zuzana
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #22157 - Update error
Hello,
So I am trying to update Alysum. The automatic update got an error, so I have tried manual update.
When I am on the Orders tab or Catalog page in BO everything seems fine. When I go to Modules I get 500 Internal Server Error. Pls, check the attachment.
Thanks for your help,
-z-
PS: I am updating my test site, not online eshop. I updated all files on FTP and delete/import the database yesterday, online eshop and test eshop are identical at this moment (except for the update of course).
Comments
What do you think about switching to the Default PS theme, uninstalling Alysum, and installing Alysum 7.01 from scratch?
What I will lose by uninstalling the Alysum? I suppose since I need to re-build the whole homepage and product page again the work probably will be the same as the update, maybe it will be even easier?
What are your thoughts? Update or Unistall/Install?
Let me check out your current configuration.
Please also let me know if you have important data of some module
OK, login info in my Profile should be working, you can check it.
I am not aware of any important data… I do not use wishlist, reviews, or size chart module.
Images and product descriptions are stored in dtb, also size, color, category…etc.
I use card payment and shipping modules but they are outside of alysum… Hmm… I don´t know… I don´t think there is any important data…
Simple blog, I should backup posts somehow… Anything other you think of?
I can make theme update for you if you want
That would be great but I will need the update for my test site, so I can re-build the design, test if it can do everything I need and then, when I am ok with it, update my online eshop.
Please upgrade your prestashop to the latest version 1.7.7.7
Cannot upgrade now, because my test site is on PHP 5.5 and I think PS 1.7.7.7 requires PHP 7.1 at least.
I have to ask the web hosting provider to change it to 7.3
The latest theme version require the latest prestashop
OK, I think about it.
Is there a way to update Alysum to 5.7.1 (last before 7.0 Elementor update)?
When I download via Themeforest there is only 7.0.1 update folder, older updates are missing.
It has no sense at all to update to the 5.7.1
Ok, I’ll try with your current version
My last update was a year and a half ago. I am sure there were changes I will benefit from. Even without Elementor.
Of course I would prefer newest version.
I am going to ask the hosting provider for PHP update anyway. Test site is exactly the same data-wise but much slower.
I am going to setup credentials on my test site the same as my online eshop so you can login there as well.
Please switch to the php version 7.2 or 7.3. Currently that’s main problem
OK, I am going to ask for PHP update right now.
My test site credentials are almost the same as you can see in my Profile.
Test website is .SK (instead of EU)
Shop url ends with .sk
In backoffice url change .eu to .sk
BO login and pass are the same
FTP host change .eu to .sk
FTP login change .eu to .sk
FTP password is the same except this character “}” I don´t know why but it is not allowed anymore. So the same password just delete } from it.
I let you know when PHP is 7.3
Thanks,
-z-
PHP on .sk test domain has been changed to PHP version: 7.3.25
I’m sorry, I mislead you. Your current php version support php max 7.2.x - https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/
Hm, I have PHP 7.3 on main .eu domain since November 2020, almost a year.
Yesterday I switched from 5.5 to 7.3 only on my testing .sk domain.
Do you have a problem with updating the theme because of 7.3? Should I try to downgrade to 7.2?
Yes, please switch to 7.2
Ok done, on both domains is PHP 7.2 now
Hello, anything new?
There is a problem what we are not able to solve. The most important module Theme Settings is not compatible with current prestashop version 1.7.5.0
So I need to restore from backup?
Or update prestashop to the latest version
ok I restore for now and then update to 1.7.7.7
no need to restore, just update
update will probably need more time, I have to check payment and shipping modules if they are compatible with new PS and even if they are, there will be errors, they always are, I never in 10 years updated easily :(
I restore and try update PS on the second domain (.sk) not on my main domain.
The latest updates goes smoothly for me
It´s like a Catch-22 for me :) I worry about update errors so I avoid updates as long as I can. Then I have to skip 2-3 years of updates in one go and boy, there are errors :D If I would update every few months it would probably be ok. I always promise myself, I do, in the future. But here I am again - updating from 1.7.5 (2018) to 1.7.7 (2021)
I let you know when I am done.
ok
Hello hello,
I am back, upgraded my test domain to PS 1.7.7.7
I uninstalled Alysum theme during the upgrade process. Now I want to install and proceed with design changes, but there is an error.
BO admin - Modules - Compile Error: Cannot declare class SizeGuide, because the name is already in use.
I have installed Alysum v.7.0.1 via BO (not copy-paste via FTP), clear cache, still getting the error when on Modules tab.
Attachments:
pk_sizeguide_current.php(32 KiB)size_guide_error.jpg(65.5 KiB)go to your server into prestashop folder. find there “modules → pk_sizeguide” and rename “pk_sizeguide” somehow
what prestashop folder do you mean? Folder modules?
I already have public_html/modules/pk_sizeguide
Prestashop root folder, in your case it’s public_html
Fred, I am sorry, I am probably slow today, be patient with me.
In my root folder public_html there is folder modules and in this folder already is another folder with name pk_sizeguide.
What should I change/rename?
No problem, don’t worry
I just renamed the folder /public_html/modules/pk_sizegude into pk_sizeguide–
haha, I get it now! sorry, English is not my first language, my fault.
ok, I´m gonna change it on my test domain and continue with testing of the upgrade
you are welcome, no problem
So the upgrade seems to be OK. I am trying Elementor, but I get error - Unable to transform value for property path “[background-color]”: Expected a numeric…
I´ve tried this solution - Ticket #22223 clear cache, no chage, same error.
Also, it is strange, but I did not have subfolder “src” in /modules/pkthemesettings/
I had to add it to pkthemesettings with those subfolders Form/Admin/Type and 2x php files as you suggested. Maybe I am missing more folders, files…?
I have checked Alysum v 7.0.1 update but for module pkthemesettings there is only “views” subfolder update.
BE AWARE PLS - I am testing on the second domain, not on my main domain. If you wanna check the above, you have to log in on my TEST domain:
My test domain credentials are almost the same as you can find in my Profile.
Shop url ends with .sk (not eu)
In backoffice url change from .eu to .sk
BO login and pass are the same
FTP host change .eu to .sk
FTP login change .eu to .sk
FTP password is the same except this character “}” I don´t know why but it is not allowed anymore. So the same password just delete } from it.
Please try this solution https://support.promokit.eu/index.php?do=details&task_id=22223
please read second sentence in my previous comment
I´ve tried this solution - Ticket #22223 clear cache, no chage, same error.
1. Please make sure you have disabled Opcahce
2. I’m not able to login to your back office
1. Advanced parameters - Performance - Cache is NO
2. BE AWARE PLS - I am testing on the second domain, not on my main domain. If you wanna check the above, you have to log in on my TEST domain:
My test domain credentials are almost the same as you can find in my Profile.
Shop url domain is .sk (not .eu)
Backoffice url is .sk (not .eu)
BO login and pass are the same
1. Opcache - is not prestashop cache. Opcache is a php cache that you can temporary disable in your server configuration
2. ok, I have updated credentials in your profile. And I see the folder “src” there, see the screen https://take.ms/RjTA6
1. Ok, by I think it is off as well. Pls, see the attachment of the print screen of my cPanel Apache and PHP setting.
Attachments:
cPanel cache.jpg(20 KiB)2. You wrote in ticket #22223 we should “replace” 2 php files. There was nothing to replace. The whole folder src was missing, I had to make it.
I upgraded from Alysum 5.4.0 to 7.0.1 and there is no src folder in 7.0.1 upgrade.
So I make the src folder (with subfolders with 2 php files) but I still get errors, so then I wrote here.
I mentioned missing src folder only because if this folder was not automatically added with the upgrade maybe some others are missing too.
I’m not sure you have created all those folders, see the screenshot https://take.ms/JuwD9
I already uploaded those two files into the folder /public_html/modules/pkthemesettings/src/Form/Admin/Type
OMG I know where the problem is! I was in pk_themesettings and not pkthemesettings! Grrrrrrr. I looked at your screenshot 30x, because you had different folders on the screenshot than was on my FTP! And then it finally clicked and I saw my mistake. Sorry, theme settings show no error now. Thank you for your patience. Screenshots are very helpful!
I am going to delete those folders I made in pk_themesettings.
Attachments:
pk_themesettings.jpg(67.7 KiB)ignore the attachement pls
no problem
Hi Fred, I have a problem with product images. I thought it would be easy, just regenerating thumbnails, but there is no change after. I have tried to delete images for one product and reupload them again, no change. I have tried chrome in incognito mode, no change. I can see images in BO, but not in FO. Only imported Alysum theme images are correctly visible. My product images are not loading. Can you help me with it? Thank you.
Hi, Zuzana.
I’m not sure that’s theme’s problem.
Try to switch to classic theme and see check out the problem there
You are right, I have found a solution, images are OK again.
Ok, great