Moving WWW and Data files
Posted by: Ruch (---.red-195-55-122.customer.static.ccgg.telefonica.net)
Date: June 05, 2013 05:17PM

Hello all and thanks in advance.

Im using the wampserver to use a wikimedia.
I used to use it as a local installation in my job's computer, installed out of the box, all working fine.

Now i decided for a raspberry so i wanted to move the www folder and the mySQL data to a dropbox.

After playing a bit... i destroyed my WAMP so I have reinstalled on a new folder, and moving from Wampserver 2.1 to 2.2d

Then I did the following changes on the config files:

httpd.conf
DocumentRoot "D:/Dropbox/Ampserver/www/"
<Directory "D:/Dropbox/Ampserver/www/">

D:\wamp\apps\phpmyadmin3.5.1\config.inc.php
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'XXXX';

D:\wamp\bin\mysql\mysql5.5.24\my.ini
#datadir=D:/wamp/bin/mysql/mysql5.5.24/data
datadir=D:/Dropbox/Ampserver/mysql/data

pointing to the dropbox folder which i want to sync with the LAMP at home. (but this is not done yet, i even dunno if i can do it)

The thing is that the mediawiki seems to work, the phpMyAdmin seems to work, but when going to the localhost (from the wampserver manager, the icon next to windows clock) i got the following:

Unable to open WampServer's config file, please change path in index.php file

the D:\wamp\www\index.php file is as follows:

//chemin jusqu'au fichier de conf de WampServer
$wampConfFile = '../wampmanager.conf';

....

// on charge le fichier de conf locale
if (!is_file($wampConfFile))
die ('Unable to open WampServer\'s config file, please change path in index.php file');


So, it is leading me to: wampmanager.conf

I have edited it, but i see nothing "susceptible" to be the souce of the problem....



Any light please smiling smiley

Thxs, thxs, thxs smiling smiley

Options: ReplyQuote
Re: Moving WWW and Data files
Posted by: Ruch (---.red-195-55-122.customer.static.ccgg.telefonica.net)
Date: June 10, 2013 08:55AM

Noone? sad smiley

Options: ReplyQuote
Re: Moving WWW and Data files
Posted by: stevenmartin99 (Moderator)
Date: June 10, 2013 09:00AM

its not leading you to that file. its saying it cant find it.

c:\wamp\www\index.php find the line mentioned and modify the path of ../ to the new path for the file so that wampserver index can find that config

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Moving WWW and Data files
Posted by: Ruch (---.red-195-55-122.customer.static.ccgg.telefonica.net)
Date: June 10, 2013 10:34AM

Ohh... Thanks

I was modifiying the folder www in the WAMP path instead the one in the "new dropbox location"


Thanks for helping

Options: ReplyQuote


Sorry, only registered users may post in this forum.