Hi Paul, The cw3setup.php must be launched from command line. On windows start a command window (start menu, run "cmd"). On OSX it is called a terminal window if i recall correctly.
Once you have a command window open, go to the cartoweb directory, if you used the default path, it will be C:\wamp\www\cartoweb3. There you type "php cw3setup.php --install --base-url http://localhost/cartoweb3/htdocs/" (if you installed cartoweb with the default path) Then to access the demo or any other projects, the url should be: http://localhost/cartoweb3/htdocs/client.php ( or http://localhost/cartoweb3/htdocs/myProject.php if you created a shortcut file) This should work but one never know with the mystery world of computer. Let me know if the problem persist. Regards Oliver Christen Camptocamp SA > Hi List Users, > > Thanks for the reply so soon. I've had problems with 'launching > cw3setup.php' on both Mac OS X 'Tiger' and Windows 2000. I'm > attempting to double-click the 'php.exe' in c:\wamp\php\ (to enter the > new location of my new project) 'base-url' but nothing seems to > happen, i'm not entirely sure that i'm pointing php at the > 'client.php' correctly because when i type in the browser: > > http://localhost/cartoweb3/projects/My_Project/demoCW3.php. > > I get the following error: > > Warning: main(c:\wamp\www\cartoweb3\projects/common/Common.php) > [function.main]: failed to open stream: No such file or directory in > c:\wamp\www\cartoweb3\projects\my_project\client.php on line 31 > > Fatal error: main() [function.require]: Failed opening required > 'c:\wamp\www\cartoweb3\projects/common/Common.php' > (include_path='.;C:\php5\pear') in > c:\wamp\www\cartoweb3\projects\my_project\client.php on line 31 > > as you recall i'm just substituting you data for ours and using the > 'demoCW3.php' for a demo before we commence customisations in the > future. > > Hope you can help with the php. > > Many thanks, > > Paul Shapley > > _______________________________________________ > Cartoweb-users mailing list > [email protected] > http://lists.maptools.org/mailman/listinfo/cartoweb-users > _______________________________________________ Cartoweb-users mailing list [email protected] http://lists.maptools.org/mailman/listinfo/cartoweb-users
