Stransky Posted January 2, 2023 Share Posted January 2, 2023 Hi all.... I currently have a Prestashop 1.5.2 store and would like to upgrade, so I am trying to install a clean 1.7.8.8 store to migrate to. I am hosting both with Netfirms and I have successfully hosted with them for about 10 years. I have tried the installation of 1.7.8.8 several times and get the same error at the same point in the installation: I have read a number of the threads here and have tried or verified the following: all folder permissions are 755 and files are 644 I unzipped the Prestashop download before transferring to my hosting provider and uploaded these 3 items - Install_Prestashop.html, index.php and prestashop.zip. Files were transferred several times to eliminate possibility of corruption in transfer I installed using my location (Canada) and also tried the United States The database connection test during the installation was successful every time I am using PHP version 7.4.10 I engaged Netfirms technical support and they were also unsuccessful Any suggestion you may have would be very welcome. Thanks! Link to comment Share on other sites More sharing options...
joseantgv Posted January 3, 2023 Share Posted January 3, 2023 Open /classes/Tools.php, around line 1150 you will find 3 lines similar to: $str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]-\pL]/u', '', $str); Comment the 3 lines and retry. Link to comment Share on other sites More sharing options...
Stransky Posted January 3, 2023 Author Share Posted January 3, 2023 I see the following lines in /classes/Tools.php // Remove all non-whitelist chars. if ($allow_accented_chars) { $return_str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]\-\p{L}]/u', '', $return_str); } else { $return_str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]\-]/', '', $return_str); } $return_str = preg_replace('/[\s\'\:\/\[\]\-]+/', ' ', $return_str); $return_str = str_replace([' ', '/'], '-', $return_str); Are these the lines to be commented? Link to comment Share on other sites More sharing options...
joseantgv Posted January 3, 2023 Share Posted January 3, 2023 1 hour ago, Stransky said: I see the following lines in /classes/Tools.php // Remove all non-whitelist chars. if ($allow_accented_chars) { $return_str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]\-\p{L}]/u', '', $return_str); } else { $return_str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]\-]/', '', $return_str); } $return_str = preg_replace('/[\s\'\:\/\[\]\-]+/', ' ', $return_str); $return_str = str_replace([' ', '/'], '-', $return_str); Are these the lines to be commented? Yes. Link to comment Share on other sites More sharing options...
Stransky Posted January 3, 2023 Author Share Posted January 3, 2023 Commented out those lines, but same result when I re-ran the installation. It failed at the same point - 63% installing modules. Link to comment Share on other sites More sharing options...
Stransky Posted January 8, 2023 Author Share Posted January 8, 2023 Hello all, any other ideas about what may be causing this issue. The hosting provider states that there are many Prestashop 1.7.x instances successfully hosting with them. Link to comment Share on other sites More sharing options...
ps8modules Posted January 8, 2023 Share Posted January 8, 2023 Hi, please check memory_limit and upload_max_size in the PHP settings of your web hosting. More info: https://www.prestashop.com/en/system-requirements If an error occurs, it is always a good idea to clear the browser cache and delete the ./var/cache/prod folder on FTP. Link to comment Share on other sites More sharing options...
Stransky Posted January 8, 2023 Author Share Posted January 8, 2023 Thank you for your response. I can confirm that ./var/cache is cleared prior to each installation re-try These are the settings in my php.ini memory_limit = 512M upload_max_filesize = 20M Confirmed with hosting provider that PHP extensions recommended by Prestashop are enabled SSL is enabled for my domain (was using it with existing 1.5.2 production site) Link to comment Share on other sites More sharing options...
ps8modules Posted January 8, 2023 Share Posted January 8, 2023 Ok. max_execution_time = ? When it shows you the error again, can you upload here from the ./var/logs/prod.log folder? Even before the new installation, delete the old prod.log file so that there are not a million lines 😄 Link to comment Share on other sites More sharing options...
Stransky Posted January 8, 2023 Author Share Posted January 8, 2023 max_execution_time = 120 Interestingly, I have noticed in all previous installation attempts that nothing is created in the ./var/logs folder, so there is no ./var/logs/prod.log file. This is one of the first places I looked to try to diagnose this problem. Folder permissions are 755 on all folders. Link to comment Share on other sites More sharing options...
ps8modules Posted January 8, 2023 Share Posted January 8, 2023 Ok, so another question. How do you check the contents of the ./var/logs folder? Do you have the display of hidden files set? Can you detect the error in the error log on the server? Do you have error logging enabled on the server? display_errors = true log_errors = true error_reporting = E_ALL | E_STRICT Link to comment Share on other sites More sharing options...
Stransky Posted January 8, 2023 Author Share Posted January 8, 2023 I have access to a File Manager through the hosting provider's Control Panel. I have enabled the option to display hidden files and do see some elsewhere in the file system structure (e.g., .htaccess) Where else should I look for an error log besides ./var/logs? In my php.ini file, I have the following: display_errors = Off log_errors = On error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED Should any of these be edited? Link to comment Share on other sites More sharing options...
ps8modules Posted January 8, 2023 Share Posted January 8, 2023 Ok. And php.ini error_log = ? path ? Link to comment Share on other sites More sharing options...
Stransky Posted January 8, 2023 Author Share Posted January 8, 2023 It is commented out in my php.ini file. This must be the default as I did not edit it: ; Log errors to specified file. PHP's default behavior is to leave this value ; empty. ; http://php.net/error-log ; Example: ;error_log = php_errors.log ; Log errors to syslog (Event Log on NT, not valid in Windows 95). ;error_log = syslog Link to comment Share on other sites More sharing options...
ps8modules Posted January 8, 2023 Share Posted January 8, 2023 This is the server log, so everything will be written there. Which is fine. You need to find out the path to the root document from the hosting provider and then create your own folder where error.log will be written. for example: error_log = /httpdocs/www/my-site.com/server-log/php_errors.log server-log is your new folder in the root of your Prestashop installationis your new directory. It's really hard to give advice like this when you don't know all the conditions that the web hosting offers you. If this is difficult for you, you can possibly enter a request in the Job section and hire someone. Be sure to require a remote connection, for example via AnyDesk software, and do not give passwords and access to anyone. Link to comment Share on other sites More sharing options...
Stransky Posted January 8, 2023 Author Share Posted January 8, 2023 I re-ran the Prestashop installation with a valid log path in the php.ini file and now have a php_errors.log file [08-Jan-2023 12:32:46 America/New_York] PHP Warning: require(/UAT/upgrade/var/cache/prod/Container11ls9jj/getPrestashop_Translation_TranslatorLanguageLoaderService.php): failed to open stream: No such file or directory in /UAT/upgrade/var/cache/prod/Container11ls9jj/appProdProjectContainer.php on line 2676 [08-Jan-2023 12:32:46 America/New_York] PHP Fatal error: require(): Failed opening required '/UAT/upgrade/var/cache/prod/Container11ls9jj/getPrestashop_Translation_TranslatorLanguageLoaderService.php' (include_path='/UAT/upgrade/vendor/pear/pear_exception:/UAT/upgrade/vendor/pear/console_getopt:/UAT/upgrade/vendor/pear/pear-core-minimal/src:/UAT/upgrade/vendor/pear/archive_tar:.:/usr/share/php') in /UAT/upgrade/var/cache/prod/Container11ls9jj/appProdProjectContainer.php on line 2676 [08-Jan-2023 12:32:46 America/New_York] PHP Warning: require(/UAT/upgrade/var/cache/prod/Container11ls9jj/getPrestashop_Translation_TranslatorLanguageLoaderService.php): failed to open stream: No such file or directory in /UAT/upgrade/var/cache/prod/Container11ls9jj/appProdProjectContainer.php on line 2676 [08-Jan-2023 12:32:46 America/New_York] PHP Fatal error: require(): Failed opening required '/UAT/upgrade/var/cache/prod/Container11ls9jj/getPrestashop_Translation_TranslatorLanguageLoaderService.php' (include_path='/UAT/upgrade/vendor/pear/pear_exception:/UAT/upgrade/vendor/pear/console_getopt:/UAT/upgrade/vendor/pear/pear-core-minimal/src:/UAT/upgrade/vendor/pear/archive_tar:.:/usr/share/php') in /UAT/upgrade/var/cache/prod/Container11ls9jj/appProdProjectContainer.php on line 2676 [08-Jan-2023 12:34:30 America/Toronto] PHP Fatal error: Out of memory (allocated 126877696) (tried to allocate 32768 bytes) in /UAT/upgrade/src/Adapter/Cart/QueryHandler/GetCartForViewingHandler.php on line 180 Link to comment Share on other sites More sharing options...
ps8modules Posted January 8, 2023 Share Posted January 8, 2023 Good. And how did you install Prestashop please? You have unzipped the downloaded archive to your computer... And then you uploaded only two files prestashop.zip and index.php to FTP? Clean install ? Link to comment Share on other sites More sharing options...
Stransky Posted January 8, 2023 Author Share Posted January 8, 2023 (edited) Yes, started (re-started) a clean install a number of times. I unzipped the Prestashop download on my local computer before transferring to my hosting provider and uploaded these 3 items - Install_Prestashop.html, index.php and prestashop.zip via FTP. Edited January 8, 2023 by Stransky (see edit history) Link to comment Share on other sites More sharing options...
jetx Posted January 8, 2023 Share Posted January 8, 2023 (edited) My own ini file is specifically: allow_url_fopen = On allow_url_include = Off display_errors = Off enable_dl = Off file_uploads = On max_execution_time = 300 max_input_time = -1 max_input_vars = 5000 memory_limit = 256M post_max_size = 256M session.gc_maxlifetime = 1440 session.save_path = "/tmp" upload_max_filesize = 128M zlib.output_compression = Off asp_tags = Off session.cookie_secure = On Try that see if you have any luck, and if it works then just edit your own ini to suit. Edited January 8, 2023 by jetx (see edit history) Link to comment Share on other sites More sharing options...
Stransky Posted January 8, 2023 Author Share Posted January 8, 2023 I have tried both unpacking on the server and unpacking locally - same result in both cases. Here is the status of the other settings you have suggested: allow_url_fopen = On (have this already) allow_url_include = Off (have this already) display_errors = Off (have this already) enable_dl = Off (current setting is on, will change) file_uploads = On (have this already) max_execution_time = 300 (set to 120 now, will change) max_input_time = -1 (current setting is 60, will change) max_input_vars = 5000 (current setting is 1000, will update) memory_limit = 256M (current setting is 512M, may try this) post_max_size = 256M (current setting is 20M, will change) session.gc_maxlifetime = 1440 (have this already) session.save_path = "/tmp" (have a local file system path, will probably leave this one alone) upload_max_filesize = 128M (current setting is 20M, will change) zlib.output_compression = Off (have this already) asp_tags = Off (setting does not exist in my php.ini) session.cookie_secure = On (commented out, will try this) Link to comment Share on other sites More sharing options...
warleb Posted February 12, 2023 Share Posted February 12, 2023 Not sure if you got this sorted or not but the PHP version you are using is probably no longer supported as of 12th Decemeber 2022. You have to go to PHP 8.0 and try that Link to comment Share on other sites More sharing options...
warleb Posted February 12, 2023 Share Posted February 12, 2023 actually you have to order php 7.4 extended support from your host probably. presta will only work up to v7.4 Link to comment Share on other sites More sharing options...
Stransky Posted February 12, 2023 Author Share Posted February 12, 2023 1 hour ago, warleb said: actually you have to order php 7.4 extended support from your host probably. presta will only work up to v7.4 Yes, did that already. And still no luck at all using PHP 7.4.10 Link to comment Share on other sites More sharing options...
Nickz Posted February 12, 2023 Share Posted February 12, 2023 On 1/2/2023 at 4:46 PM, Stransky said: I currently have a Prestashop 1.5.2 store and would like to upgrade, so I am trying to install a clean 1.7.8.8 store to migrate to. According to some people here in the forum you need to update slowly version 1.5.2 version by version. Alternatively install an empty store and fill it over those parts in the Database which will work. There are Prestashop forks out there, thirtybees and about 4200+ PrestaShop source code forks. Link to comment Share on other sites More sharing options...
Stransky Posted February 12, 2023 Author Share Posted February 12, 2023 3 minutes ago, Nickz said: According to some people here in the forum you need to update slowly version 1.5.2 version by version. Alternatively install an empty store and fill it over those parts in the Database which will work. There are Prestashop forks out there, thirtybees and about 4200+ PrestaShop source code forks. I am trying to install clean store from scratch, not upgrade from an existing. The plan was to get the new store up and running and then migrate the data. 1 Link to comment Share on other sites More sharing options...
Nickz Posted February 12, 2023 Share Posted February 12, 2023 1 hour ago, Stransky said: The plan was to get the new store up and running and then migrate the data sounds good, so your on a shared server, a VPS or any other configuration? Link to comment Share on other sites More sharing options...
warleb Posted February 12, 2023 Share Posted February 12, 2023 So I just tried version 1.7.8.8 and on install it told me that the verison is not correct so it prompted me to install version 8.0. Hmm, is this the latest stable version Link to comment Share on other sites More sharing options...
warleb Posted February 12, 2023 Share Posted February 12, 2023 and this worked fine. Did not do that a few hours ago Link to comment Share on other sites More sharing options...
Stransky Posted February 12, 2023 Author Share Posted February 12, 2023 12 minutes ago, warleb said: and this worked fine. Did not do that a few hours ago So should I install version 8.0 instead? Did it fix the problem I have had for the past month and is it stable? Link to comment Share on other sites More sharing options...
Stransky Posted February 12, 2023 Author Share Posted February 12, 2023 1 hour ago, Nickz said: sounds good, so your on a shared server, a VPS or any other configuration? Yes, it is on a shared server. The hosting provider tried to install as well, but they really have no clue what they're doing, so after several of their failed attempts I gave up pursuing that as a solution. Interestingly this is a large hosting provider and I have been hosting version 1.5.2 with them successfully for many years. That is why I decided to try to get assistance here. I understand the difficulties when trying to upgrade an existing Prestashop store, especially since mine is quite old. That is why the only thing I have tried is a brand new, clean install. After a month I am still not able to get version 1.7.8.8 installed without getting the error. Link to comment Share on other sites More sharing options...
warleb Posted February 12, 2023 Share Posted February 12, 2023 to be honest I don't know what happened. I downloaded the latest version from prestashop which v.1.7.8.8 and uploaded it to my host. Unzipped and proceeded to make the install. Enter my Url name and it came up and said you are not using the latest version. Do you want to install v 8.0.1. So I just said OK. And it installed it right away without issues. My feeling is this is a presta issue because when I tried a new install a few hours ago it did not prompt me to install v 8.0.1. It was just installing v1.7.8.8 and I had the exact same issue as you. 26 minutes ago, Stransky said: So should I install version 8.0 instead? Did it fix the problem I have had for the past month and is it stable? Link to comment Share on other sites More sharing options...
warleb Posted February 12, 2023 Share Posted February 12, 2023 not sure if it is stable or not. Let me re-install the older version and I will report back Link to comment Share on other sites More sharing options...
Stransky Posted February 12, 2023 Author Share Posted February 12, 2023 5 minutes ago, warleb said: to be honest I don't know what happened. I downloaded the latest version from prestashop which v.1.7.8.8 and uploaded it to my host. Unzipped and proceeded to make the install. Enter my Url name and it came up and said you are not using the latest version. Do you want to install v 8.0.1. So I just said OK. And it installed it right away without issues. My feeling is this is a presta issue because when I tried a new install a few hours ago it did not prompt me to install v 8.0.1. It was just installing v1.7.8.8 and I had the exact same issue as you. Ah ok, this is giving me some hope - thanks! I think I will try this and see how it goes. Link to comment Share on other sites More sharing options...
warleb Posted February 12, 2023 Share Posted February 12, 2023 So I deleted it, and now this is v 1.7.8.8 and I get this So I said No Thanks this time and get this Seems to be working Completed fine. Something has changed today..... as this was not working earlier. So now I am on v.1.7.8.8 Link to comment Share on other sites More sharing options...
warleb Posted February 12, 2023 Share Posted February 12, 2023 yep, installed perfect on v 1.7.8.8. Very strange Link to comment Share on other sites More sharing options...
warleb Posted February 12, 2023 Share Posted February 12, 2023 highly odd Link to comment Share on other sites More sharing options...
Stransky Posted February 12, 2023 Author Share Posted February 12, 2023 1 hour ago, warleb said: yep, installed perfect on v 1.7.8.8. Very strange I just tried another clean 1.7.8.8 install - unfortunately same result as it again fails at the exact same point 63% Link to comment Share on other sites More sharing options...
Stransky Posted February 12, 2023 Author Share Posted February 12, 2023 I downloaded and tried a clean install of 8.0.1. It still fails when trying to install modules: Link to comment Share on other sites More sharing options...
Sergi Homs Posted February 13, 2023 Share Posted February 13, 2023 I needed to do some tests in Prestashop 1.7.8.7 and i got the same issue when i re-installed on my localhost. I have another Presta on a domain in the same version and works fine but local got error 500-> 1: HTTP 500 - error - {"success":true,"message":""} Is this version needing a fix(v1.7.8.7, v1.7.8.8) or should I update the localhost one? Link to comment Share on other sites More sharing options...
Stransky Posted February 18, 2023 Author Share Posted February 18, 2023 (edited) I've tried everything mentioned here and have had no luck. Any other suggestions anyone? Edited February 18, 2023 by Stransky (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted February 18, 2023 Share Posted February 18, 2023 (edited) 2 hours ago, Stransky said: Any other suggestions anyone? an answer to: On 2/12/2023 at 10:36 AM, Nickz said: sounds good, so your on a shared server, a VPS or any other configuration? Edited February 18, 2023 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
Stransky Posted February 18, 2023 Author Share Posted February 18, 2023 17 minutes ago, Nickz said: an answer to: Shared hosting, not a VPS. In the same shared hosting environment where I had my 1.5.2 store for about 10 years. Link to comment Share on other sites More sharing options...
Nickz Posted February 18, 2023 Share Posted February 18, 2023 1 hour ago, Stransky said: In the same shared hosting environment where I had my 1.5.2 store for about 10 years. In shared hosting they stop using some of the oder versions, check those first. Link to comment Share on other sites More sharing options...
Stransky Posted February 18, 2023 Author Share Posted February 18, 2023 40 minutes ago, Nickz said: In shared hosting they stop using some of the oder versions, check those first. Older versions of what? Link to comment Share on other sites More sharing options...
Nickz Posted February 19, 2023 Share Posted February 19, 2023 (edited) 19 hours ago, Stransky said: Older versions of what? Upps sorry PHP that is the software used in most shops. Many shared host are now mostly using 7.4 as the oldest php version. Edited February 19, 2023 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
Stransky Posted February 19, 2023 Author Share Posted February 19, 2023 2 minutes ago, Nickz said: Upps sorry PHP that is the software used in most shops. Many shared host are now mostly using 7.4 as the oldest php version. My hosting provider allows me to select PHP version 5.3, 5.4, 5.5, 7.0, 7.1, 7.2, 7.3 or 7.4.x I believe I have tried a few of these versions with my installation attempts, but am on 7.4.10 right now as I understood this was the preferred version for Prestashop 1.7.8.8. Should I be trying using an earlier PHP version? Link to comment Share on other sites More sharing options...
Nickz Posted February 19, 2023 Share Posted February 19, 2023 4 hours ago, Stransky said: Should I be trying using an earlier PHP version? sure why not? You need to check all your modules or deactivate them. Link to comment Share on other sites More sharing options...
Stransky Posted February 19, 2023 Author Share Posted February 19, 2023 7 minutes ago, Nickz said: sure why not? You need to check all your modules or deactivate them. I can try each PHP version, working backwards from 7.4.10. Checking and/or deactivating modules will not help however - I am trying to perform a clean install of 1.7.8.8 and it fails at "Install Modules". I don't get to the point where I can check or deactivate anything. Link to comment Share on other sites More sharing options...
Nickz Posted February 19, 2023 Share Posted February 19, 2023 1 hour ago, Stransky said: I am trying to perform a clean install of 1.7.8.8 and it fails at "Install Modules". I don't get to the point where I can check or deactivate anything. Ok than go to requirements you need to raise max_upload, max_post timeouts and and and. in php.ini multiphp selector on cpanel. Link to comment Share on other sites More sharing options...
Stransky Posted February 19, 2023 Author Share Posted February 19, 2023 5 minutes ago, Nickz said: Ok than go to requirements you need to raise max_upload, max_post timeouts and and and. in php.ini multiphp selector on cpanel. what values would you suggest for each of these? Link to comment Share on other sites More sharing options...
Nickz Posted February 19, 2023 Share Posted February 19, 2023 varchar 10 000, Max_upload 840mb max_post 1024mb timeout 300 do you have a ll dependencies satisfied? Quote A domain name (or a subdomain/subfolder) Recommended web server: Apache 2.2+, Nginx + PHP 7.1+ MySQL 5.6+ installed with a database created FTP access (ask your hosting service for your credentials) Configuration: In the PHP configuration (php.ini file) set memory_limit to "256M" and upload_max_filesize to "16M" (or more if available). If you do not have direct access to the php.ini file, ask your provider to change the settings for you SSL certificate if you plan to process payments internally (not using PayPal for instance) Must have PHP extensions: CURL, DOM, Fileinfo, GD, Intl, Mbstring, Zip, Json, iconv To improve performances: MemCached, Apcu, OpCache Link to comment Share on other sites More sharing options...
juanrojas Posted February 19, 2023 Share Posted February 19, 2023 I'm experiencing the same problem (PS1.7.8.7), what happened? Have I missed something these days? same error on my local server and on my remote server I'm trying everything without success Link to comment Share on other sites More sharing options...
prestaciccio Posted August 22, 2023 Share Posted August 22, 2023 On 2/19/2023 at 8:01 PM, Stransky said: I can try each PHP version, working backwards from 7.4.10. Checking and/or deactivating modules will not help however - I am trying to perform a clean install of 1.7.8.8 and it fails at "Install Modules". I don't get to the point where I can check or deactivate anything. Hi Stransky, did you find a solution for this problem. I can't find anythings. Link to comment Share on other sites More sharing options...
Stransky Posted August 23, 2023 Author Share Posted August 23, 2023 7 hours ago, prestaciccio said: Hi Stransky, did you find a solution for this problem. I can't find anythings. No, never did find a solution, either on this forum or with my hosting provider. I know there is an answer out there somewhere, just was never able to find it. Link to comment Share on other sites More sharing options...
musicmaster Posted August 23, 2023 Share Posted August 23, 2023 Some suggestions: - look in the server's error log - enable debug mode after the unzip and then run the install. Note that this is an Ajax operation so you will need to make some effort to see the error message. - install Prestashop somewhere else (like your pc) and upload the files and the database. 1 Link to comment Share on other sites More sharing options...
Stransky Posted August 24, 2023 Author Share Posted August 24, 2023 On 8/23/2023 at 6:56 AM, musicmaster said: Some suggestions: - look in the server's error log - enable debug mode after the unzip and then run the install. Note that this is an Ajax operation so you will need to make some effort to see the error message. - install Prestashop somewhere else (like your pc) and upload the files and the database. Unfortunately my hosting provider does not give access to any server logs. And based on my technical interactions with them, they don't know how to read or interpret them properly. Link to comment Share on other sites More sharing options...
Nickz Posted August 25, 2023 Share Posted August 25, 2023 1 hour ago, Stransky said: Unfortunately my hosting provider does not give access to any server logs. And based on my technical interactions with them, they don't know how to read or interpret them properly. That is a good wake up call wouldn't you agree? Server market is under pressure. Use that to your benefit. What do you need, and where? Link to comment Share on other sites More sharing options...
Stransky Posted August 25, 2023 Author Share Posted August 25, 2023 10 hours ago, Nickz said: That is a good wake up call wouldn't you agree? Server market is under pressure. Use that to your benefit. What do you need, and where? Yes, I agree, the service provider's support on this item has been very poor. I don't need anything very special, basic hosting, database support, SSL, email, ability to troubleshoot Prestashop issues, etc. Link to comment Share on other sites More sharing options...
Nickz Posted August 25, 2023 Share Posted August 25, 2023 17 minutes ago, Stransky said: ability to troubleshoot Prestashop issues Hardly any server will do those. Would be a stroke of luck to find one.https://www.ethernetservers.com Try those for all other issues. Hosters do not provide customer attention to programming issues. If you have database issues why don't you start a brand new shop, leaving all issues behind? Link to comment Share on other sites More sharing options...
Stransky Posted August 25, 2023 Author Share Posted August 25, 2023 1 minute ago, Nickz said: Hardly any server will do those. Would be a stroke of luck to find one.https://www.ethernetservers.com Try those for all other issues. Hosters do not provide customer attention to programming issues. If you have database issues why don't you start a brand new shop, leaving all issues behind? That is exactly what I am trying to do, install a new instance of Prestashop. Once installed, migrate over whatever data I need. This entire thread is about not being able to complete a fresh install. 1 Link to comment Share on other sites More sharing options...
Stransky Posted October 21, 2023 Author Share Posted October 21, 2023 Hi all... I still do not have the issue resolved, so when I received my hosting renewal notice from Netfirms I decided to contact them again about the problem. I was informed that their hosting environment does not support Prestashop anymore. I sure wish I knew that almost a year ago! They referred me to their "sister company", Bluehost. I called them and they told me they don't support any version of Prestashop either. My next step is now a bit easier, as I know I have to change hosting providers. Can anyone recommend a provider that is a stable well established business that can host Prestashop 8.x at a reasonable cost? Thanks! Link to comment Share on other sites More sharing options...
Nickz Posted October 21, 2023 Share Posted October 21, 2023 7 minutes ago, Stransky said: host Prestashop 8.x at a reasonable cost? Have you asked here: https://www.ethernetservers.com/ Link to comment Share on other sites More sharing options...
musicmaster Posted October 21, 2023 Share Posted October 21, 2023 3 minutes ago, Stransky said: Hi all... I still do not have the issue resolved, so when I received my hosting renewal notice from Netfirms I decided to contact them again about the problem. I was informed that their hosting environment does not support Prestashop anymore. I sure wish I knew that almost a year ago! They referred me to their "sister company", Bluehost. I called them and they told me they don't support any version of Prestashop either. My next step is now a bit easier, as I know I have to change hosting providers. Can anyone recommend a provider that is a stable well established business that can host Prestashop 8.x at a reasonable cost? Thanks! Sorry, this evades me. Prestashop is rather standard software. It can be run with almost all hosting providers. So if your hosting provider says that it is not possible I am very curious why. On the other hand it is unlikely that a hosting provider will provide support for Prestashop. That is a very specialistic business: Prestashop can go wrong in thousands of ways and you need to know quite a lot to support it adequately. That is the reason that you should find a company that is specialized in Prestashop for that. But usually that is not the same company as your hosting provider. Link to comment Share on other sites More sharing options...
Stransky Posted October 21, 2023 Author Share Posted October 21, 2023 10 minutes ago, musicmaster said: Sorry, this evades me. Prestashop is rather standard software. It can be run with almost all hosting providers. So if your hosting provider says that it is not possible I am very curious why. On the other hand it is unlikely that a hosting provider will provide support for Prestashop. That is a very specialistic business: Prestashop can go wrong in thousands of ways and you need to know quite a lot to support it adequately. That is the reason that you should find a company that is specialized in Prestashop for that. But usually that is not the same company as your hosting provider. I was surprised by them saying this as well. But when you can't even get a clean install running and they offer nothing else other than "it won't work", I think it's time to move on. Link to comment Share on other sites More sharing options...
Stransky Posted October 21, 2023 Author Share Posted October 21, 2023 29 minutes ago, Nickz said: Have you asked here: https://www.ethernetservers.com/ Thanks, checking with them now 🙂 Link to comment Share on other sites More sharing options...
musicmaster Posted October 22, 2023 Share Posted October 22, 2023 On 10/21/2023 at 6:11 PM, Stransky said: I was surprised by them saying this as well. But when you can't even get a clean install running and they offer nothing else other than "it won't work", I think it's time to move on. Actually there is at least one problem with the latest Prestashop version that can happen on perfectly healthy servers. Link to comment Share on other sites More sharing options...
Stransky Posted October 22, 2023 Author Share Posted October 22, 2023 1 hour ago, musicmaster said: Actually there is at least one problem with the latest Prestashop version that can happen on perfectly healthy servers. I could not get any version from 1.7.8.8 and up to install clean on the current hosting provider's platform. Also tried 8.0.4 and 8.1.0 with the same problem. Also tried the 1-click upgrade in version 1.5.2 and a Prestashop Migration Tool that I purchased in the Prestashop Store. The module would not install in 1.5.2 and after some effort the vendor ended up refunding me. I know I can get a clean install of 8.x on another platform. I just wonder how to bring all the data over from my 1.5.2 store as it will be on a different hosting environment and I know you can't restore a backup from 1.5.2 into 1.7.x or 8.x Any ideas on that anyone? Link to comment Share on other sites More sharing options...
musicmaster Posted October 23, 2023 Share Posted October 23, 2023 You can copy the files and the database from the old server to your harddisk and from there to the new server. Don't use the backup option in the Prestashop backoffice for the database (it is buggy): use phpmyadmin or another tool that comes with the server. When you have the files and the database on the new server you will not be able to run them due to the PHP version. From there you my tool Copy_shopdata or one of the Migration tools. Link to comment Share on other sites More sharing options...
naveed_swabi Posted October 23, 2023 Share Posted October 23, 2023 installing prestashop 8.1.1 on xampp 8.2.4.0 but give error http:500 plz give me solution any one when applied the method On 28 or around line will found this line > define('_PS_MODE_DEV_', false); Changed that line to read define('_PS_MODE_DEV_', true); but is give some more errors plz explain solution Link to comment Share on other sites More sharing options...
Eidan2020 Posted November 6, 2023 Share Posted November 6, 2023 Hi, After reading several posts, I have compiled a series of solutions, and among them, the one that worked for me. 1. Check the configuration of the necessary PHP parameters. The best option is to review the requirements and compatibilities here: https://devdocs.prestashop-project.org/8/basics/installation/system-requirements/ 2. In some automatic installations, the error occurs during "Creating default shop and languages." If you select the USA as the region, the installation proceeds without any issues. It's worth noting that in current versions, this has been fixed. 3. In cases where the installation stops at "Install Modules," the CMS is usually 100% installed, but some module may cause compatibility issues. In the instances I've seen, it has been the "ps_edition_basic" module. In this case, if you visit the URL, you will see the website in maintenance mode. If you rename or delete the "install" folder, you can access the web's backend. Remember to clean up the installation files. 4. The latest versions 8.0.1-8.1.1 are also causing headaches when finishing the installation, sometimes in "theme," and other times in "modules." From what I've seen, the latest version 8.1.2 has worked for everyone who had issues with the previous versions. Extra: Some people currently struggle with downloading older versions, so I'm providing the various links:https://github.com/PrestaShop/zip-archives I hope this information is helpful to you. 1 Link to comment Share on other sites More sharing options...
Hurry061 Posted November 9, 2023 Share Posted November 9, 2023 An HTTP 500 error generally signifies an issue with the server, leading to an unsuccessful attempt to fulfill a request due to unexpected conditions. This error can result from various causes. For instance, in a scenario where you're encountering an HTTP 500 error when attempting to perform a clean installation of version 1.7.8.8, it could be due to: Server Misconfiguration: An issue within the server settings or configurations might be causing the error. Double-check the server settings to ensure they align with the system requirements for the installation. Permissions or Access Issues: Ensure that the user attempting the installation has the necessary permissions to access and modify the files on the server. Restricted permissions might lead to an HTTP 500 error. Software or Database Conflicts: Incompatibilities between the installed software version and the database or other software might cause the error. Ensure that the versions are compatible and update them if needed. Corrupted Files: If the installation files are corrupt or incomplete, this could lead to errors during the installation process. Try redownloading or obtaining a fresh copy of the installation files. To address the issue: Confirm that the server settings match the requirements for the installation. Check and adjust permissions if needed. Ensure compatibility between software versions and databases. Obtain a fresh, complete copy of the installation files. If the issue persists, consulting with the software's support team or the server administrator might provide further insight or guidance to resolve the HTTP 500 error during the installation process. Link to comment Share on other sites More sharing options...
Stransky Posted November 23, 2023 Author Share Posted November 23, 2023 Hi all, thanks for all the suggestions, but none of them worked for me. I finally gave up on my hosting provider (as my plan was coming up for renewal), so I moved everything to Bluehost and now have a 8.1.0 shop up and running that I am restoring into. The domain moves were a pain, but I think I'm over the hump now. Quick question before I go "live" - 1-click upgrade says 8.1.2 is available and stable. Should I upgrade? Link to comment Share on other sites More sharing options...
ccristian Posted January 14 Share Posted January 14 The same problem here. Trying to make a fresh install of PrestaShop 8.1.3 on a Windows local Xampp server. The server was configured acording the PrestaShop system requirements as is mentioned here, we also set the necessary parameters acording to PrestaShop System Reguirements Tool. We install it on a Xampp server with this configuration: ###### ApacheFriends XAMPP Version 8.1.25 ###### + Apache 2.4.58 + MariaDB 10.4.32 + PHP 8.1.25 (VS16 X86 64bit thread safe) + PEAR + phpMyAdmin 5.2.1 + OpenSSL 1.1.1p + ADOdb 518a + Mercury Mail Transport System v4.63 (not included in the portable version) + FileZilla FTP Server 0.9.41 (not included in the portable version) + Webalizer 2.23-04 (not included in the portable version) + Strawberry Perl 5.32.1.1 Portable + Tomcat 8.5.96 + XAMPP Control Panel Version 3.3.0. + XAMPP mailToDisk 1.0 (write emails via PHP on local disk in <xampp>\mailoutput. Activated in the php.ini as mail default.) Link to comment Share on other sites More sharing options...
ccristian Posted January 14 Share Posted January 14 Performing another fresh install, on the same configuration (we didn't make any changes in the server settings) this time with PrestaShop 8.1.2 went without errors. In our opinion the version 8.1.3 that is uploaded to PrestaShop server for downloading has bugs, so what we need to do is to wait until they solve this issue. God bless you all! Link to comment Share on other sites More sharing options...
ccristian Posted January 14 Share Posted January 14 29 minutes ago, ccristian said: Performing another fresh install, on the same configuration (we didn't make any changes in the server settings) this time with PrestaShop 8.1.2 went without errors. In our opinion the version 8.1.3 that is uploaded to PrestaShop server for downloading has bugs, so what we need to do is to wait until they solve this issue. God bless you all! Performing an update from 8.1.2 to 8.1.3 using 1-Click upgrade (updated to the latest version, we also updated and enabled all modules after a 8.1.2 fresh install) it give as this error: "AdminPsEditionBasicHomepageController is missing or invalit" but what we notice is that this error ocurres only when we press the prestashop header logo in the up left backoffice corner (prestashop logo), if we click the Dashboard button (the first position from the backoffice left dashboard menu) the error disappears....very strange Link to comment Share on other sites More sharing options...
ccristian Posted January 14 Share Posted January 14 enabling debug mode it s showing us this... Link to comment Share on other sites More sharing options...
ccristian Posted January 14 Share Posted January 14 4 hours ago, ccristian said: enabling debug mode it s showing us this... The issue was solved disabling (put to off) the button "Disable non-native modules" during the 1-Click upgrade settings. Have a nice day to all of you! 1 Link to comment Share on other sites More sharing options...
Kriter.io Posted January 14 Share Posted January 14 4 hours ago, ccristian said: The issue was solved disabling (put to off) the button "Disable non-native modules" during the 1-Click upgrade settings. Have a nice day to all of you! thanks a lot. It will really help me Link to comment Share on other sites More sharing options...
ccristian Posted January 14 Share Posted January 14 8 minutes ago, Kriter.io said: thanks a lot. It will really help me God bless you friend, I am glad I could help you Link to comment Share on other sites More sharing options...
Kriter.io Posted January 15 Share Posted January 15 Unfortunately i had a problem upgrading from 8.1.2. to 8.1.3 Any suggestion on how to solve it? Consider that the 8.1.2 is a brand new installation with everything native (theme and/or modules) Any Link to comment Share on other sites More sharing options...
Kriter.io Posted January 15 Share Posted January 15 7 hours ago, Kriter.io said: Unfortunately i had a problem upgrading from 8.1.2. to 8.1.3 Any suggestion on how to solve it? Consider that the 8.1.2 is a brand new installation with everything native (theme and/or modules) Any SOLVED!. It was just a matter of timing. I simply disabled image backups (since i already had one) and it went ahead smoothly 1 Link to comment Share on other sites More sharing options...
lastreaction Posted January 17 Share Posted January 17 Hello all, any other ideas about what may be causing this issue. The hosting provider states that there are many Prestashop 1.7.x instances successfully hosting with them. Link to comment Share on other sites More sharing options...
Kriter.io Posted January 17 Share Posted January 17 2 hours ago, lastreaction said: Hello all, any other ideas about what may be causing this issue. The hosting provider states that there are many Prestashop 1.7.x instances successfully hosting with them. It is a matter of timing. Just do it when there is low traffic or.....do it in steps. I disabled IMG Backup (since i had already it) and it worked smoothly. Link to comment Share on other sites More sharing options...
Prestman Posted March 4 Share Posted March 4 I don't understand why Prestashop developers don't care about own prestige and offers such a bug reach versions to download. First fresh Prestashop 8.1.4 (download from prestashop.com) clean installation on local PC with recommended settings: Apache 2.4 PHP 8.1.9 MariaDB 10.6: Then I switched to PHP 8.0: As next I want to download Prestashop from GitHub and try to install it. Link to comment Share on other sites More sharing options...
Paul C Posted March 4 Share Posted March 4 To be honest if it gets as far as installing the modules (in the case of the OP) or the theme, then the install is probably manually recoverable fairly easily (or may indeed work with some optional items missing). 8.1.4 is a security release so maybe try 8.1.3 and then use the 1-click upgrade to bring it up to 8.1.4. I would recommend using docker if you're just doing local development or testing. 1 Link to comment Share on other sites More sharing options...
Nickz Posted March 4 Share Posted March 4 3 hours ago, Prestman said: I don't understand why Prestashop developers don't care about own prestige and offers such a bug reach versions to download. Do you care for customers when working for a company other than yours? Employment is not the same as having you own shop. Link to comment Share on other sites More sharing options...
endriu107 Posted September 22 Share Posted September 22 Quick fix instruction Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now