Can't open projects after upgrade
Posted by: da909 (---.gv.shawcable.net)
Date: March 17, 2018 11:42PM

I just upgraded to version 3.1.0 but now when I go to localhost and try to open one of my projects I get an error "can't connect to server" at my project name. This is the same for all projects, they aren't found.



Edited 1 time(s). Last edit at 03/18/2018 01:28AM by da909.

Options: ReplyQuote
Re: Can't open projects after upgrade
Posted by: Otomatic (Moderator)
Date: March 18, 2018 09:38AM

Hi,

> I just upgraded to version 3.1.0
Upgrated what and how?

ou must use VirtualHost for your local sites.
See The need for Virtual Host and Wampserver 3 - Create or add a VirtualHost

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.3 32 bit - Apache 2.4.34 - PHP 7.2.8/7.1.20/7.0.31/5.6.37 - MySQL 5.7.23 - MariaDB 10.3.8
Wampserver 3.1.3 64 bit - Apache 2.4.34 - PHP 7.2.8/7.1.20/7.0.31/5.6.37 - MySQL 5.7.23 - MariaDB 10.3.8
PhPMyadmin 4.8.2 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: Can't open projects after upgrade
Posted by: da909 (---.gv.shawcable.net)
Date: March 18, 2018 08:10PM

Hello, I set up virtual hosts for my projects following the instructions from [forum.wampserver.com]

It is working fine for most projects but with a wordpress project I get the error:
Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in C:\wamp\www\wordpress\wp-includes\plugin.php on line 580



Edited 2 time(s). Last edit at 03/18/2018 08:25PM by da909.

Options: ReplyQuote
Re: Can't open projects after upgrade
Posted by: RiggsFolly (Moderator)
Date: March 19, 2018 12:59AM

Did you create the Virtual Host and then install Wordpress into the VK?

Maybe if you show us your VH Definition for this site we might be able to do more than make guesses?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.1.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-



Edited 1 time(s). Last edit at 03/19/2018 10:08AM by RiggsFolly.

Options: ReplyQuote
Re: Can't open projects after upgrade
Posted by: da909 (---.gv.shawcable.net)
Date: March 19, 2018 01:10AM

I copied my old www folder to the new installation of wamp and then created virtual host.

# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerName wordpressGalleryOne
DocumentRoot "c:/wamp/www/wordpress"
<Directory "c:/wamp/www/wordpress/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

Options: ReplyQuote
Re: Can't open projects after upgrade
Posted by: RiggsFolly (Moderator)
Date: March 19, 2018 10:10AM

Ok,

That looks ok, are you using a different version of PHP in the new WAMPServer? And if so what ws the old version and what is the new?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.1.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Can't open projects after upgrade
Posted by: da909 (---.gv.shawcable.net)
Date: March 19, 2018 06:31PM

Yes I did change the version of php from 5.5.12 to 7.1.9

Options: ReplyQuote
Re: Can't open projects after upgrade
Posted by: RiggsFolly (Moderator)
Date: March 20, 2018 12:47AM

Then it may well be that you have an old WordPress that is not ready for PHP 7.1

You can check that on the WordPress site, look for the requirements of your version of WordPress

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.1.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.