Bonjour,
Voilà, c'est fait.. J'ai créé un VirtualHost pour mes deux sites !
Et... demie victoire !
Celui de l'association fonctionne parfaitement en revanche, le mien (lesArtsDuCoin) me redirige toujours sur l'hébergement...
Je lance
localhost/lesArtsDuCoin/admin/ et j'arrive sur
les-arts-du-coin.fr/install/upgrade.php côté hébergement...
Si je lance simplement
localhost/lesArtsDuCoin/ j'obtiens cet écran d'erreur :
Code :
[== Indéfini ==]
( ! ) Warning: array_keys() expects parameter 1 to be array, null given in C:\wamp\www\lesArtsDuCoin\lib\classes\class.cms_siteprefs.php on line 85
Call Stack
# Time Memory Function Location
1 0.1880 363056 {main}( ) ..\index.php:0
2 0.1970 438240 require_once( 'C:\wamp\www\lesArtsDuCoin\include.php' ) ..\index.php:71
3 0.3210 4453808 CmsRegularTaskHandler::handle_tasks( ) ..\include.php:289
4 0.3350 4560488 CmsRegularTaskHandler::execute( ) ..\class.CmsRegularTaskHandler.php:184
5 0.3410 4561576 PruneAdminlogTask->on_success( ) ..\class.CmsRegularTaskHandler.php:140
6 0.3410 4561704 set_site_preference( ) ..\class.PruneAdminlog.task.php:53
7 0.3410 4561824 cms_siteprefs::set( ) ..\page.functions.php:512
8 0.3410 4561888 cms_siteprefs::exists( ) ..\class.cms_siteprefs.php:102
9 0.3420 4561864 array_keys ( ) ..\class.cms_siteprefs.php:85
( ! ) Warning: in_array() expects parameter 2 to be array, null given in C:\wamp\www\lesArtsDuCoin\lib\classes\class.cms_siteprefs.php on line 85
Call Stack
# Time Memory Function Location
1 0.1880 363056 {main}( ) ..\index.php:0
2 0.1970 438240 require_once( 'C:\wamp\www\lesArtsDuCoin\include.php' ) ..\index.php:71
3 0.3210 4453808 CmsRegularTaskHandler::handle_tasks( ) ..\include.php:289
4 0.3350 4560488 CmsRegularTaskHandler::execute( ) ..\class.CmsRegularTaskHandler.php:184
5 0.3410 4561576 PruneAdminlogTask->on_success( ) ..\class.CmsRegularTaskHandler.php:140
6 0.3410 4561704 set_site_preference( ) ..\class.PruneAdminlog.task.php:53
7 0.3410 4561824 cms_siteprefs::set( ) ..\page.functions.php:512
8 0.3410 4561888 cms_siteprefs::exists( ) ..\class.cms_siteprefs.php:102
9 0.3480 4562168 in_array ( ) ..\class.cms_siteprefs.php:85
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\lesArtsDuCoin\lib\classes\class.cms_siteprefs.php:85) in C:\wamp\www\lesArtsDuCoin\index.php on line 295
Call Stack
# Time Memory Function Location
1 0.1880 363056 {main}( ) ..\index.php:0
2 0.3730 4777264 header ( ) ..\index.php:295
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\lesArtsDuCoin\lib\classes\class.cms_siteprefs.php:85) in C:\wamp\www\lesArtsDuCoin\index.php on line 296
Call Stack
# Time Memory Function Location
1 0.1880 363056 {main}( ) ..\index.php:0
2 0.3750 4777576 header ( ) ..\index.php:296
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\lesArtsDuCoin\lib\classes\class.cms_siteprefs.php:85) in C:\wamp\www\lesArtsDuCoin\index.php on line 297
Call Stack
# Time Memory Function Location
1 0.1880 363056 {main}( ) ..\index.php:0
2 0.3770 4777584 header ( ) ..\index.php:297
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\lesArtsDuCoin\lib\classes\class.cms_siteprefs.php:85) in C:\wamp\www\lesArtsDuCoin\index.php on line 298
Call Stack
# Time Memory Function Location
1 0.1880 363056 {main}( ) ..\index.php:0
2 0.3790 4777624 header ( ) ..\index.php:298
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\lesArtsDuCoin\lib\classes\class.cms_siteprefs.php:85) in C:\wamp\www\lesArtsDuCoin\index.php on line 299
Call Stack
# Time Memory Function Location
1 0.1880 363056 {main}( ) ..\index.php:0
2 0.3810 4777552 header ( ) ..\index.php:299
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\lesArtsDuCoin\lib\classes\class.cms_siteprefs.php:85) in C:\wamp\www\lesArtsDuCoin\lib\misc.functions.php on line 228
Call Stack
# Time Memory Function Location
1 0.1880 363056 {main}( ) ..\index.php:0
2 0.3830 4777456 ErrorHandler404( ) ..\index.php:301
3 0.3830 4777816 header ( ) ..\misc.functions.php:228
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\lesArtsDuCoin\lib\classes\class.cms_siteprefs.php:85) in C:\wamp\www\lesArtsDuCoin\lib\misc.functions.php on line 229
Call Stack
# Time Memory Function Location
1 0.1880 363056 {main}( ) ..\index.php:0
2 0.3830 4777456 ErrorHandler404( ) ..\index.php:301
3 0.3850 4777896 header ( ) ..\misc.functions.php:229
Not Found
The requested URL was not found on this server.
Bien sûr ... je reste quoi ! J'ai tout lu. Je suis allé sur les fichiers indiqué...
...
Mais je n'ai pas trouvé ce qu'il fallait rectifier
évidemment !
Voici à tout hasard mon contenu VirtualHost :
Code :
[== Indéfini ==]
</VirtualHost>
# Site Les Arts du coin.
<VirtualHost *:80>
DocumentRoot "C:/wamp/www/lesArtsDuCoin"
ServerName lesArtsDuCoin
ServerAlias www.lesArtsDuCoin
<Directory "C:/wamp/www/lesArtsDuCoin/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
# Site TERROIRS77.
<VirtualHost *:80>
DocumentRoot "C:/wamp/www/terroirs77"
ServerName terroirs77
ServerAlias www.terroirs77
<Directory "C:/wamp/www/terroirs77/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
Sans doute pas grand chose... ?!
Toujours ravi.