Localhost Not Working On WAMP Server?

Mar 20, 2010

I have installed the wamp server correctly but when i called [URL]for example it didn't work it gave me (the web cannot found this page).

ADVERTISEMENT

WAMP, Web Browser Hang When Loading Localhost Server?

Mar 20, 2010

but I created a profile php file that accesses the username(since that was also the folder name)this is assuming all inputs are correct. but when i create a new file, something goes wrong. after i close the web browser, everytime i load localhost using WAMP as a server, it keeps giving me an error on the web browser, status access violation or something, it ends up terminating the browser and i cannot determine the cause.

<?php
$error = false;
$errorfragment = "?";

[code]...

View 1 Replies View Related

Code Displaying On Screen Using Localhost WAMP Server?

Oct 19, 2010

I am using WAMP2 on my desktop. each time I run a php page the code is echoed to the screen. The icon in the lower tool bar is white/grey I have had in working I then installed new anti-virus software and that is when I noticed that it wasn't working. I have reinstalled WAMP2 nd it is the same. The page works on my domain server.I have uninstalled the anti-virus software and problem still remainsDoes anyone have any idea or elimination tests

<?php
$weight = 36.0;
$rate = 1.00;

[code]...

View 5 Replies View Related

Run A Project Running On Wamp/xampp Server Using System's IP Address In Place Of Localhost?

Feb 16, 2011

Actually I'm making a web project using Wamp server, and to run the same I access it using the usual local-host address, as we do while building a project on our PC. But to share my project with my friends, I want to make access using the IP address of my computer. ut when I make such an access it is not able to connect, which is not the case with my friend's project.After I failed accessing using the Wamp Server, I installed Xamp Server, the project can be accessed using local host with both the servers (running one at a time) but not when accessed using my PC's IP address (which I find using [URL]

View 1 Replies View Related

Wamp Server Is Not Working?

Aug 10, 2009

i have downloaded some files which have .php extension.Then i installed wamp server on my pc. but couldnot be able to view those files.i have also turned off the IIS from the add/remove windows program.still i am not able to view the pages.

View 5 Replies View Related

Project Not Working On Wamp Server?

Sep 9, 2009

have just installed wamp server on windows. In the www folder, if I write a simple php method I get the result. But if I try to install an earlier project, I am getting a parse error at the end of the file i.e. where the </html> tag ends.

View 1 Replies View Related

Imap Is Not Connecting To Mail Server From Live Server But Working Fine From Localhost

Dec 24, 2010

I could connect to a mail server from my localserver my when I uploaded that file to a server I am getting the following error

Notice: Unknown: rsh to IMAP server timed out (errflg=1) in Unknown on line 0

Notice: Unknown: Connection failed to mail.xxxxxxxxxxxxxxxxxxxx.com,143: Connection refused (errflg=2) in Unknown on line 0

View 3 Replies View Related

Phpmyadmin Stopped Working After Installing Wamp Server 2?

Jun 3, 2011

had a working phpmyadmin which stopped working when i installed a new version of wamp 2 for windows 32bit.Now i have mysqlBuddy appearing in my localhost homepage and it mysqlBuddy works but when i click on phpmyadmin it doesn't work. The error i am getting is Access Denied. please read below error.

> Error
>
> MySQL said: Documentation Cannot connect: invalid settings.

[code]...

View 1 Replies View Related

Wamp Server: Multiple Virtual Hosts Are Not Working On Windows?

Mar 27, 2010

I have two virtual hosts on windows(for example: test1.dev and test2.dev). But it always load content of test1.dev for both virtual hosts. Following are my files:

hosts:

127.0.0.1 localhost
127.0.0.1 test1.dev
127.0.0.1 test2.dev

httpd.conf:

<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

[code]....

View 5 Replies View Related

Fonts Working On Localhost But Not On Live Server

Jan 11, 2011

I am using imagettftext() for creating text over a image. I used times new roman font, the application in working fine on my development machine but not in live environment. Is it due to my dev. machine in windows and live is linux? Actual problem is text on my locahost appears "Monster" but on live server "Mo nster" this is not only with O but with other alphabets too.

$font = './fonts/times.ttf';
$bbox = imagettfbbox(30, 0, $font, $word);
$x = $bbox[0] + (imagesx($src) / 2) - ($bbox[4] / 2);
$y = $bbox[1] + (imagesy($src) / 2) - ($bbox[5] / 2)+212;
imagettftext($src, 30, 0, $x, $y, $color, $font, $word);
$bbox2 = imagettfbbox(18, 0, $font, $definition);
$x = $bbox2[0] + (imagesx($src) / 2) - ($bbox2[4] / 2)
$y = $bbox2[1] + (imagesy($src) / 2) - ($bbox2[5] / 2)+245;
imagettftext($src, 18, 0, $x, $y, $white, $font, $definition);

View 5 Replies View Related

Insert Query Is Working In Localhost But Not In Web Server?

Oct 19, 2009

I am using flex builder 3 to insert into mysql database using php and everything is working perfectly in my localhost, the problem is when I deploy the project in the web server and run it, it connect to the database but i can't insert data ( it shows nothing when i insert data )another stupid thing is in another piece of code for retrieving (select) data that works good on both my localhost and web server.here is the php code:

<?php

$host = "******";
$user = "******";
$pass = "******"; [code]...

View 2 Replies View Related

Cookies Works Well On Localhost But It's Not Working On Live Server?

Dec 13, 2010

Note: This issue is already solved, finally I found that it's not cookies problem, the problem is on unserialize() function. The serialized cookie which being the parameter of that function must be stripslash-ed first.

I have a problem here about PHP Cookies. I'm using PHP Cookies to save user preferences. I've tested my code on my local machine (localhost using XAMPP). Everything's works very well, including the cookies. But when I uploaded it to the live server, the cookies not working at all. It seems that the setcookie() function do not write the cookie value. I've tested by echo-ing the cookie value both on my localhost and on my live server. $_COOKIE[] value on localhost is showing but not with the one in the live server.

I thought maybe it's related to the $expire time zone like the one's in this post [URL] . But then I realized that I've set the cookies to expire in 1 month, not only in one hour like on that blog post. So I think that's not the case.

This is the content of setting.php

<?php
$defaultSettings['default_post_to'] = 'both';
$defaultSettings['timesince_style'] = 'simplify';
...
$defaultSettings['display_geo_info'] = 'true';

[Code]....

I've search about it everywhere (Google, stackoverflow, asking friends on twiiter/FB) still no solutions

View 3 Replies View Related

Remember Me Function - Working On Localhost But Doesn't On Web Server

Aug 29, 2010

I have a Login Script with a Remember me Function. The Script works flawlessly on my local server but when I upload it doesn't work on my web server. From what I can tell its a Session issue, When I log in, I make a session with the user ID, in which is used to pull all there information on other pages. On my local host it makes the sessions and everything is dandy, but on the web server it doesn't seem to make the session.

View 6 Replies View Related

Code Worked In Live Server But Not Working In Localhost?

Jan 25, 2010

What is this error? Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:xampphtdocsjagalogin.php:9) in C:xampphtdocsjagalogin.php  on line 12

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:xampphtdocsjagalogin.php:9) in C:xampphtdocsjagalogin.php on line 12

Warning: Cannot modify header information - headers already sent by (output started at C:xampphtdocsjagalogin.php:9) in C:xampphtdocsjagalogin.php on line 37

Why it is showing?
below is my code
Code: [Select]<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">

[Code]...

View 2 Replies View Related

Ffmpeg Setting Up In Wamp On Localhost?

Mar 29, 2011

I have done the following:Downloaded ffmpeg from http://sourceforge.net/projects/ffmpeg-php/files/
Copied php_ffmpeg.dll from the php5 folder to the C:wampinphpextCopied files from common to the windows/system32 folderAdded the extension=php_ffmpeg.dll to php.ini fileRestarted all services (Apache, PHP...)And enabled "extension=php_ffmpeg.dll" directive in my php.ini.but it still doesn't show up when I do a php info page. I thought it might have something to do with that fact that I'm using php version 5.3.0. I have googled for a php_ffmpeg.dll for php version 5.3.0 and haven't had any luck

View 1 Replies View Related

Setup A Subdomain On Localhost Using Wamp?

Jun 8, 2011

I am using wamp and i have setup a subdomain on localhost using wamp and when i go from localhost to subdomain.localhost the sessions from localhost doesnt work.

However, i searhed a bit and found that i may need to add

session_set_cookie_params(0, '/', '.localhost');

before

session_start();

but it seems it doesnt work.

Could it be vhosts problem?

this is how i have set up httpd-vhosts.conf

NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot c:/wamp/www/
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
ServerAdmin admin@test
DocumentRoot "C:/wamp/www/sub/"
ServerName sub.localhost
ServerAlias *.localhost
</VirtualHost>

View 2 Replies View Related

All Localhost Pages Via WAMP Blocked?

Jun 9, 2011

I've been trying to fix a weird 403 Forbidden error I get when I try to go to one of my pages via WAMP on the localhost.

After adding a rule to open up port 80 via Windows Firewall, which apache uses, I notice that this does NOT fix my problem and instead gives me a 403 forbidden for ALL my pages via localhost.

Removing the rule I just made (which caused this to begin with) does not fix it. Disabling Windows Firewall does not fix it. Restarting my computer does not fix it.

EDIT2: I AM able to go to localhost/phpmyadmin for whatever that's worth.

EDIT3: The contents of my httpd.conf: [URL]

View 3 Replies View Related

Copy() Works On Localhost(wamp) But Not On Real Web Domain?

Nov 9, 2009

so i'm trying to copy file.xml into another location something like copy('file.xml',../../folder/newfile.xml) ; it works just fine on my wamp virtual server but on my real site it doesn't. i thought that is something related to chmod and i changed the file.xml to 0777(with a ftp client).is there something that i should put in my code to make it right? or what?

View 2 Replies View Related

Configure WAMP (localhost) To Send Email Using Gmail ?

Mar 1, 2009

I want to use the mail() function from my localhost. I have WAMP installed and a Gmail account. I know that the SMTP for Gmail is smtp.gmail.com and the port is 465 (more info from gmail). What I need to configure in WAMP so I can use the mail() function?

View 6 Replies View Related

Get A Math Captcha Image To Display On Localhost Using WAMP

Jul 24, 2011

I'm trying to get a math captcha image to display on localhost using WAMP, but all i get is a broken image box. Gd is enabled. Under apache, modules, I have php5_module selected.

Here is my code:

Code: [Select]<?php
$num1 = rand(1, 20);
$num2 = rand(1, 20);
$value = $num1. " + " .$num2. " = "; 

[Code]....

Then i have <img src=captcha.php> where i want the image in my form to be displayed.

View 14 Replies View Related

Wordpress Template Is Good Working On Localhost But Not Working On Online?

Apr 29, 2011

wordpress template is good working on localhost but not working Online why?

View 2 Replies View Related

Header Working On Localhost But Not Working Online?

Aug 3, 2009

with this

<?php
$sc=$_POST['sc'];
$name=$_POST['name'];

[code]...

View 14 Replies View Related

Sessions Not Working On WAMP

Dec 24, 2005

I have a WAMP setup (windows/apache/mysql/php). I'm running the latest
version of all of them with a default installation of all of them. PHP
works great with apache (as a module, not cgi), except that sessions
aren't working. The script at the bottom of this post never increments
my hit count. Do I need to turn sessions on somehow in php.ini?

----

<?php
// Initialize a session. This call either creates
// a new session or re-establishes an existing one.
session_start( );

// If this is a new session, then the variable
// $count will not be registered
if (!session_is_registered("count"))
{
session_register("count");
session_register("start");

$count = 0;
$start = time( );
}
else
{
$count++;
}

$sessionId = session_id( );

?>
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd" >
<html>
<head><title>Sessions</title></head>
<body>
<p>This page points at a session
(<?=$sessionId?>)
<br>count = <?=$count?>.
<br>start = <?=$start?>.
<p>This session has lasted
<?php
$duration = time( ) - $start;
echo "$duration";
?>
seconds.
</body>
</html>

----

View 2 Replies View Related

WAMP In Vista Not Working

May 7, 2009

WAMP in vista was not working... i was lookign for soultions but could not find it... i tried a lot and found out that it was my antivirous which was blocking port 80, 8080 etc. so if your WAMP not working in vista check that http is not blocked by your antivirous. check in http blocking in antivirous and disable block 80, 8080and it will work.

View 2 Replies View Related

Get MySQL Working Using WAMP?

Jan 15, 2010

new to this coding business and spent days trying to get apache, php 5 and MySQL working on my windows pc. Finally got there and can only connect to database using mysqli instructions. Problem is that the book I am trying to learn from only has mysql code. I have been into the php.ini and un-commented the mysql extension, which was commented.I am running the following command:

$conn = mysql_connect('localhost', 'username', 'pwd');

and it says Client does not support authentication protocol, consider upgrading mysql client.I downloaded the latest cersion of mysql. Can somebody explain whether I should be learning mysqli or not and what I need to do to be able to run mysql.

View 5 Replies View Related

Installed WAMP On Vista Not Working

Feb 1, 2009

Last week I installed WAMP on my Vista machine. The PHP portion appeared to install correctly but the PHP code is echoed to the screen e.g.

<?php
phpinfo();
?>

gives me

<?php
phpinfo();
?>

on the screen. Are there any settings that I need to look at to see where the installation failed? (The apache service and mysql service are starting as they should.)

View 6 Replies View Related

Mail() Function Not Working Use Wamp

Oct 30, 2009

My home mechine (windows) act as server my websit working well. But my mail() function will not working!. is there any setting on php.ini? i mean like "SMTP, sendmail_from, and sendmail_pat" etc i use wamp.

View 2 Replies View Related

Function Mcrypt_encrypt() Not Working In Wamp ( Version 5.2.6 )

Aug 17, 2009

When I try to use this mcrypt_encrypt() function I am getting following error. Fatal error: Call to undefined function mcrypt_encrypt() in C:wampwwwPHP_KitFORM_PHPincludes.php on line 307

View 2 Replies View Related

Build Localhost Server Using Apache / MS SQL Server 2000?

Feb 25, 2006

i live in Vietnam, so My English is so bad, but i hope you know what i mean. I want to setup a server that use : Apache, PHP, and Ms SQL server persional edition 2000. But i only can connect Apache 2.0 and PHP 5.x it run ok But i don't know, the way that PHP can access MS SQL how to set up.

View 8 Replies View Related

See Requests Between My Localhost IIS Server And The External Google Server?

Jun 19, 2010

I have managed to get Fiddler monitoring my localhost traffic by specifying my machine name. I am using IIS7 (localhost) on Vista business. I'm developing using PHP and am currently using the Zend GData framework to communicate with Google Calendar.I am not seeing any communication between the IIS/Localhost server and the Google service. How can I see requests between my localhost IIS server and the external Google server. Obviously, I am seeing the result of the interaction in the browser but not the request/response between IIS and Google that is orchestrated by my PHP script and the Zend GData framework.

View 1 Replies View Related

Wamp Server

Jun 12, 2006

Is there a way to use binary files with wamp server?

View 6 Replies View Related

Wamp Server Problem

May 24, 2007

I can't surf my wamp server , Although both of the services seems to be working. When I trying to surf my server the browser loading the page for eternity.

View 2 Replies View Related

Version Of Wamp Server To Use?

Apr 26, 2011

which is the most comfortable version of wamp server to use?

View 1 Replies View Related

Exif_read_data Using WAMP Server 2.1

Mar 28, 2011

I'm currently using WAMP server 2.1 and need to use the exif_read_data() function. This was not an added extension so I added it to the server, however, it still returns an error when I use it.

View 9 Replies View Related

Set Index.php In Wamp Server?

Mar 4, 2011

I have to set index.php as default in my wamp server,because each time when i open project its displaying all files and from that i have to select index.php to start

View 1 Replies View Related

Php Not Working With 'localhost'

Jul 2, 2007

When I run a php file in my browser using an IP address, it renders
just fine. But when I run the php file using 'localhost', it renders
the source code. It's as if it does not recognize it as php. There are
other variables, but I don't want to make a full page post.

In a nutshell:
(http://192.130.0.230/~username/file.php) works
(http://localhost/~username/file.php) does not work.

View 2 Replies View Related

Localhost Not Working?

Jan 30, 2011

When I try to run something on Netbeans using Ubuntu, a window opens but nothing actually works. it's because my http://localhost/ isn't working. So, how do I get that to work so I run files on Netbeans? Any specific step-by-step instructions would be great. I heard I had to install Apache, but I'm not sure.

View 1 Replies View Related

Setting Up 5 (Wamp) Server Looking For Suggestions.

Jul 11, 2006

We are setting up our own ISP (server) with Windows 2003 Standard Edition, Ms SQL 2005 and Wamp and our consulting company is setting up the hardware (and 2003 server software along with MS SQL 2005) and I am going to setup WAMP on it (with PHP5) and was looking for feedback on the PHP5 settings.

Has anyone setup a 'true server' like this?

I have my personal machine with WAMP and PHP5 but it is not hosted on the Internet only our Intranet, so I am safe with the standard settings and not concerned about security or speed.

View 2 Replies View Related

Can't Get Wamp/uniform Server To Work

Jan 5, 2006

I'm putting together a PHP/SQL based helpdesk system here at work and I'm having some trouble getting it to run on a windows system.

I've tried e-novative WAMP and wamp from wampserver.com and neither of these seem to display PHP variables at all. they just leave them blank. So I tried uniform server from uniformserver.com and this actually seemed to work.

Now I'm using a book to learn and it's called PHP5/MySQL Programming for the absolute beginner but when I get to a certain part the PHP stops working properly. Now I'll give the code and if somebody could tell me if it's my server or the code that's not right then I can continue with my project. Code:

View 1 Replies View Related

Install Magento On Wamp Server?

Nov 5, 2010

I am trying to install magento on my wamp server.

Have done settings in C:WINDOWSsystem32driversetchosts also.

Bt still getting error:

Notice: Trying to get property of non-object in D:wampwwwmagentoappcodecoreMageCoreModelConfig.php on line 1125

Notice: Trying to get property of non-object in D:wampwwwmagentoappcodecoreMageCoreModelConfig.php on line 1125

Notice: Trying to get property of non-object in D:wampwwwmagentoappcodecoreMageCoreModelConfig.php on line 1125

Fatal error: Call to a member function getIdFieldName() on a non-object in D:wampwwwmagentoappcodecoreMageCoreModelAbstract.php on line 151

View 3 Replies View Related

Wamp Server And Xdebug Installation?

May 27, 2010

I am trying to install xdebug on wamp server.With this code:

zend_extension_ts="c:/wamp/bin/php/php5.3.0/ext/php_xdebug-2.1.0RC1-5.3-vc9.dll"
xdebug.default_enable = on
xdebug.remote_enable = 1
[code]....

View 2 Replies View Related

Not Connecting To Mail Server With WAMP?

Mar 9, 2009

I have been trying to get WAMP on my work computer to connect to work's mail server to test some pages that customers will use to request information.Looking at the log files I notice the following line

[Code]...

At 1st, 2nd and 3rd glance I can see nothing wrong with that line (though country is chosen via a drop down menu with australai as the default). Maybe the fault is higher up? The only thing I could possibly see is that Code: $media = $_POST['media']; is this. 'Media' refers a 2 radio button set. Have I set this up correctly. What could be wrong in the php.ini and whay does the ini_set() actually do or how do i use it?

View 2 Replies View Related

Import File In Wamp Server?

Aug 2, 2009

How to import file in wamp server? I have a database file named as db.opt .I want to save this file in proper location so that I can access database from wamp server..Its showing unable to access database everytime. I saved those file in wamp inmysqlmysql5.1.36data. But I cant access database when trying to run the pages.

View 7 Replies View Related

Wamp Server: Setting Of Datetime

Apr 12, 2010

I develope with PHP on WAMP server but when I call "today" function I get "sysdate - 2h" instead of sysdate...

View 1 Replies View Related

Wamp Server Is Running On My Computer?

Feb 2, 2010

I have first all install the Visual studio 2008 on my computer and after that wamp server. I was try to start wamp server but it can start it shows error.

View 2 Replies View Related

ADVERTISEMENT