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

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

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.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

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 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.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

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 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.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

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 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.