Prestashop does not run locally (XAMPP, Windows 10) - prestashop

I migrated prestashop 1.4 (all the files) from the live site, to my computer and imported the database successfully to htdocs/prestashop
Now I go to http://localhost/prestashop/ and it shows nothing but this
"This page isn’t working
localhost is currently unable to handle this request. HTTP ERROR 500"

You are trying to run PS 1.4 on php7.
mysql_connect was deprecated in php5.5 and completely removed in php7.
http://php.net/manual/en/function.mysql-connect.php

Related

power automate desktop not connecting with browser extension

I have installed the latest versions of power automate desktop and browser extension, and I'm using the Microsoft Edge browser, before the latest update come, it worked perfectly, but after the update it not working.
every time I run the flow it shows this error:
"Failed to assume control of Microsoft Edge (Communication with browser failed. Try reloading extension)."
With the new version you also have to make sure developer tools are enabled in your browser.
See the information here about manifest v3
When I updated to the latest version of PAD I also had major issues lucky I was able to roll back to the previous version.
I'm aware this might not solve your issue, but the only way I could get mine working again was to uninstall 2.27 and reinstall 2.26, lucky I had the install for 2.26 as I couldn't find a previous version download link on the MS website anywhere.

Cannot initiate session store since unable to parse (ERROR 500)

adonis application returns this error message when cloned the project and run after installing npm install, but the same project is working in another mac book pro. even i am using a mac book pro and it returns the following error. it says error 500.
Error
Cannot initiate session store since unable to parse `3b4204e91221f241deaad16ec6e4ddc0rs82L3YRb0FL72WnRgcJACuQ3Pur5KO5XigYeIuvLtuv+r27yI+dQXmZNbUUqX0URC5bzdBT1lnnZdZutBu4rVBPjvTKX00KR/RRsx9zjF0Zx2lqpSDdwJqUoGvJdM4YnJA3D6EK71GRVfpAeEprchMf5E0hdVEgnzVxV0wgqOg=`
The issue was really unknown and once i clean cookies from site settings of the browser, it was fixed itself, also i recommend to test all the sites on Incognito mode,

XAMPP Can't Start Apache After Upgrading to PHP7.1.17 "Attempting to start Apache service..."

I have XAMPP installed on Windows 7 virtual machine. My old PHP version was 7.0.9 with Apache 2.4
I needed to upgrade the PHP version to 7.1.x and I set out reading about how to best to this. In end, I settled with the simple plan:
Stop Apache service
Downloaded new PHP version from official php website. For PHP 7 the 7.1.17 version was listed. I downloaded the thread safe version, as my Apache has thread safety enabled.
I extracted the contents of the downloaded archive to a folder.
I copied and replaced all files in the appropriate folders from C:/Server/php with the new php version files from the extracted archive.
I attempted to start Apache from the XAMPP control panel and the server will not start.
The message "Attempting to start Apache service..." just hangs and nothing happens.
The last entry in the error.log file in C:\Server\apache\logs shows the event when the server was stopped and that's it.
When I check the php version from CLI with the command php -v, the console returns installed php version 7.1.17
I tried different suggestions I read from similar questions, like changing ServerName localhost:80 to ServerName localhost:8080 and copying php7apache2.dll to apache/bin ( as suggested here: Upgrading PHP in XAMPP for Windows? ), alas the issue is not fixed and Apache does not start.
Of course, I also restarted the virtual machine, all the same.
At this point, I'm dumbfounded. Don't know what to do.
I need to get Apache running with php 7.1, as it is required by Magento 2.2.4. I do not want to reinstall XAMPP, as this will be a lenghty process with a lot of risk for more things to go wrong.
Any help is much appreciated!
Alright, so after checking Windows Logs > Application in Event Viewer I saw the error ".. the Apache service named is not a valid win32 application". I downloaded the x86 version of PHP from official website PHP for Windows
Then copied and replaced files as described above, and Apache started successfully.
To see if your Apache version is x64 or x86 open command prompt and cd to your Apache bin directory, in my case C:/Server/apache/bin , then run:
file httpd

double progress bar prestashop installation

I'm trying to install Prestashop 1.7 on a server with Ubuntu 16.04 Apache, Mysql, Php 7.0.
I start the installation but after a second i get a generic error "an error has occurred" and i can see under the progress bar, it appears a new prestashop image with another progress bar. On Apache errors log there's nothing. Any ideas what can be wrong? I checked folder's ownership and permissions are ok.
you can see it on http://155.94.210.181/nautazon/
Thanks
The problem was with the zip archive that wasn't uploaded properly on the server. I didn't notice there had been an error on the ftp and the file was incomplete

Is analytics available with the MobileFirst Platform CLI developer edition?

I have installed the MobileFirst Platform CLI developer edition from https://developer.ibm.com/mobilefirstplatform/install/#clui
I am trying to investigate the analytics of the application, but this doesn't seem to be properly installed from here.
I am able to create a MFP server, start it and access the console. It doesn't have a link to the analytics in the top-right of the console as it does in the developer edition provided by Eclipse. Is this behaviour as expected or is there something missing?
I have tried installing this package twice. I am running on OSX 10.10
In the Liberty servers directory, /Users//.ibm/mobilefirst/6.3.0/server/wlp/usr/servers, I can see the Worklight folder. It has an _analytics.war file in it (which is different from my Eclipse install which has a worklight-analytics.war and worklight-analytics-service.war)
And in the messages.log file, I am getting messages saying that the web application _analytics is available.
But I then a number of messages with
com.worklight.analytics.api.AnalyticsHttpService.sendDataToURL target server response code: 404
Going directly to http://localhost:10080/_analytics responds with an "Authorization failed" message.
Update - Got it working
I uninstalled the dev edition CLI and downloaded the CLI from Passport Advantage and installed it from there. The analytics feature now seems to work. Although the link to it is still not available in the top right of the console.
I don't know if it's a different install package, or an issue on my Mac that I inadvertently resolved, but the analytics feature is now working
The issue here was that the version you originally downloaded was not up-to-date.
This will be corrected soon.
Proper mechanisms will be put in place so that this will not happen again.
Yesterday I downloaded and installed the publically available MobileFirst Platform 6.3 CLI from https://developer.ibm.com/mobilefirstplatform/install/#clui. I created a simple app which connects to the MFP server.
Result: Analytics works without any problem.
So you do not have to buy the product just to use the CLI with analytics.