Using Wamp Without an Internet Connection?
Posted by: willow1872 (---.range86-140.btcentralplus.com)
Date: January 14, 2013 01:17PM

I installed wamp a few months ago and everything has been working perfectly however i wanted to work on my website while i was out this morning, somewhere without an internet connection but i couldn't, seemingly because i didn't have an internet connection. I thought one of the points of using a local server was being able to work without being connected to the computer?

I should add that i'm using a shopping cart script which i would normally have to ftp everything to but am i missing something? Do i really need an internet connection to use Wamp?

Many thanks in advance.

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: RiggsFolly (---.as13285.net)
Date: January 14, 2013 03:03PM

You do not need an internet connection to run wamp.

However something in your app may well think it needs one

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: willow1872 (---.range86-140.btcentralplus.com)
Date: January 14, 2013 03:37PM

Thanks for clearing that up! Do you know what i need to do?

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: RiggsFolly (---.as13285.net)
Date: January 14, 2013 09:07PM

Sorry,

Now I am confused.

Do you mean you installed wamp on a laptop and you took it out with you, lets say on the train, and tried to work on your site on the laptop where there was no internet connection??

Or do you mean you installed wamp on a desktop at home and took your laptop out onto the train and tried to access your site??

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: willow1872 (---.range86-140.btcentralplus.com)
Date: January 14, 2013 09:15PM

@ RiggsFolly - Your first example is right lol. Wamp is installed on my laptop and i tried to work on my site where there wasn't an internet connection but it wouldn't work. When i got back home and connected to my wifi everything worked again.

To avoid further confusion i forgot to add that the problem was relating to actually viewing and browsing my website installed on Wamp, not transferring files (although i didn't try to transfer anything!).

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: RiggsFolly (---.as13285.net)
Date: January 14, 2013 09:21PM

Well as long as wamp is started and GREEN you should be able to browse you site using a browser on [localhost]

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: willow1872 (---.range86-140.btcentralplus.com)
Date: January 14, 2013 09:28PM

Thats exactly what i thought! Everything was green and it was all fine before i was disconnected to the internet. Is there a setting or something somewhere that i might have missed?

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: RiggsFolly (---.as13285.net)
Date: January 14, 2013 10:02PM

Just a thought, where is you htdoc? In other words where is your html/php code stored?

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: willow1872 (---.range86-140.btcentralplus.com)
Date: January 14, 2013 10:45PM

It's winin a folder in localhost. It's a php shopping cart/cms. The direct path is: C:\wamp\www\folder\
With WAMP switched on i click on the "localhost" link and Firefox opens a new tab and i then navigate to the folder my cart is installed

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: RiggsFolly (---.as13285.net)
Date: January 14, 2013 11:29PM

Did you look at Apache error log and phph error log files to see if there are any clues in there?

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: willow1872 (---.range86-140.btcentralplus.com)
Date: January 15, 2013 12:20AM

I didn't think to check actually but have done now and there's nothing in the php error log which infact didn't exist and so i had to create one but there are thousands in the Apache log. For the time period that i was trying to view the website locally i have the following errors:

[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP Warning: htmlentities() [<a href='http://docs.php.net/manual/en/function.htmlentities.php'>function.htmlentities.php</a>]: Invalid multibyte sequence in argument in C:\\wamp\\www\\CC5.1.5\\classes\\debug.class.php on line 193, referer: [localhost]
[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP Stack trace:, referer: [localhost]
[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP 1. {main}() C:\\wamp\\www\\CC5.1.5\\admin.php:0, referer: [localhost]
[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP 2. require() C:\\wamp\\www\\CC5.1.5\\admin.php:25, referer: [localhost]
[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP 3. include() C:\\wamp\\www\\CC5.1.5\\admin_no_enc.php:39, referer: [localhost]
[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP 4. include() C:\\wamp\\www\\CC5.1.5\\controllers\\controller.admin.session.true.inc.php:158, referer: [localhost]
[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP 5. Request->send() C:\\wamp\\www\\CC5.1.5\\admin\\sources\\dashboard.index.inc.php:265, referer: [localhost]
[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP 6. Request->log() C:\\wamp\\www\\CC5.1.5\\classes\\request.class.php:242, referer: [localhost]
[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP 7. Database_Contoller->insert() C:\\wamp\\www\\CC5.1.5\\classes\\request.class.php:292, referer: [localhost]
[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP 8. Database->_execute() C:\\wamp\\www\\CC5.1.5\\classes\\db\\database.class.php:299, referer: [localhost]
[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP 9. Database_Contoller->_sqlDebug() C:\\wamp\\www\\CC5.1.5\\classes\\db\\mysqli.class.php:207, referer: [localhost]
[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP 10. Debug->debugSQL() C:\\wamp\\www\\CC5.1.5\\classes\\db\\database.class.php:840, referer: [localhost]
[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP 11. htmlentities() C:\\wamp\\www\\CC5.1.5\\classes\\debug.class.php:193, referer: [localhost]

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: stevenmartin99 (Moderator)
Date: January 15, 2013 08:53AM

i think these shopping track clicks using a company on the web.


You definitly dont need an internet connection to develop a site , but if that site requires a connection, then you will.


also you said ftp.. why would you be FTPing on a local machine to a local machine?

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

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: willow1872 (---.range86-140.btcentralplus.com)
Date: January 15, 2013 11:33AM

Sorry, I said ftp as a slip of the tongue lol

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: RiggsFolly (---.as13285.net)
Date: January 15, 2013 02:49PM

Line 1

[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP Warning: htmlentities() [<a href='http://docs.php.net/manual/en/function.htmlentities.php'>function.htmlentities.php</a>]: Invalid multibyte sequence in argument in C:\\wamp\\www\\CC5.1.5\\classes\\debug.class.php on line 193, referer: [localhost]

Well this is trying to get to
http://docs.php.net/manual/en/function.htmlentities.php

which is definitely not on you laptop


[Mon Jan 14 10:49:28 2013] [error] [client 127.0.0.1] PHP 5. Request->send() C:\\wamp\\www\\CC5.1.5\\admin\\sources\\dashboard.index.inc.php:265, referer: [localhost]

Request->Send() looks like its trying to communicate with the outside world!!

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: willow1872 (---.range86-140.btcentralplus.com)
Date: January 15, 2013 03:59PM

So it looks like the problem is with the shopping cart trying to load external pages/websites rather than a wamp issue? I'm actually using CubeCart V5 so i'll post on their forums.

Thanks so much for trying to help. Its very much appreciated yawning smiley)

Options: ReplyQuote
Re: Using Wamp Without an Internet Connection?
Posted by: RiggsFolly (---.as13285.net)
Date: January 15, 2013 04:42PM

OK not a bad idea.

Just to clear up my WOOPS the first line I mentioned is of course not actually trying to connnect to php.net its just a error message that paints on the screen with a clickable link to the documentation for htmlentities().

Figured I would clear that up before somebody jumped all over my tuckus.

Options: ReplyQuote


Sorry, only registered users may post in this forum.