Upgrade from wamp2.5 to wamp3.2
Posted by: ahuq (137.200.32.---)
Date: December 03, 2019 04:08PM

I am trying to upgrade Wamp 2.5 to 3.2. here are steps I have taken

---Exported MySQL data and saved the sql file
--backup www folder
--backup the entire wamp folder


--installed wamp3.2
--I see green icon and all services running
--successfully logged in to phpmyadmin
--successfully logged into localhost
----------
----created the hesk database/user
--imported the data from 2.5
--copied the www folder (project) to new wamp3.2
-------

issue :- I can login to localhost/homepage, but none of the hesk(project) links were working, need Help!

Options: ReplyQuote
Re: Upgrade from wamp2.5 to wamp3.2
Posted by: Otomatic (Moderator)
Date: December 03, 2019 04:23PM

Hi,

You must use VirtualHost for your local sites (projects).

See The need for Virtual Host and Wampserver 3 - Create or add a VirtualHost

And, with the tool integrated into Wampserver, it is (relatively) simple to create a VirtualHost from an existing project.
You need to know which folder contains the project, for example c:\wamp\www\project1\ and which name - ServerName - you want to give this VirtualHost.

It may be a little less simple for CMS-based projects like WordPress or similar, for the reason that they have the bad habit of putting their url in the database.

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

Options: ReplyQuote
Re: Upgrade from wamp2.5 to wamp3.2
Posted by: ahuq (137.200.32.---)
Date: December 03, 2019 05:31PM

Thank you, will try and get back to you.

Options: ReplyQuote
Re: Upgrade from wamp2.5 to wamp3.2
Posted by: ahuq (137.200.32.---)
Date: December 04, 2019 01:20PM

HI

I have created virtual host successfully and restarted DNS,
Then copied project folder and imported the data.

I am having issue of service "wampmysql64" not starting.

Thanks
Ramesh

Options: ReplyQuote
Re: Upgrade from wamp2.5 to wamp3.2
Posted by: Otomatic (Moderator)
Date: December 04, 2019 01:40PM

Hi,

see error in mysql log and events viewer

The wampmysqld64 service started correctly before you imported the data, since the wampmanager icon was green

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

Options: ReplyQuote
Re: Upgrade from wamp2.5 to wamp3.2
Posted by: ahuq (137.200.32.---)
Date: December 04, 2019 05:12PM

HI

I did fix the MySQL error and still I cannot launch or Hesk links are not working.

I see errors in PHP error log.

[04-Dec-2019 15:25:37 UTC] PHP Warning: session_name(): Cannot change session name when headers already sent in D:\wamp\www\inc\common.inc.php on line 1287
[04-Dec-2019 15:25:37 UTC] PHP Stack trace:
[04-Dec-2019 15:25:37 UTC] PHP 1. {main}() D:\wamp\www\index.php:0
[04-Dec-2019 15:25:37 UTC] PHP 2. hesk_session_start() D:\wamp\www\index.php:201
[04-Dec-2019 15:25:37 UTC] PHP 3. session_name() D:\wamp\www\inc\common.inc.php:1287
[04-Dec-2019 15:25:37 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in D:\wamp\www\inc\common.inc.php on line 1289

Options: ReplyQuote
Re: Upgrade from wamp2.5 to wamp3.2
Posted by: Otomatic (Moderator)
Date: December 04, 2019 06:08PM

Hi,

This means that you have completely overwritten the files in wamp/www/ that corresponded to the Wampserver homepage'http://localhost/'.
This is not what was requested for your VirtualHost.

You must not modify or replace folders and files that exist "basic" in the folder wamp/www/
As explained in the links that were previously submitted to you, you must create your own folders in wamp/www/, for example wamp/www/mysite1/ and it is in these folders that you put your sites.

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.