FAQ Database Discussion Community


Why the error “Forbidden” “You don't have permission to access / on this server.” is appearing after installing wampserver2.2d on Windows 7?

wampserver
I just downloaded wampserver2.2d-x32.exe from source forge and installed on my machine running on Windows 7 operating system. The setup went well. Now when I started wampserver the W icon has turned Green but when I click on localhost link I get following message in a browser window : **Forbidden**...

WAMP shows error 'MSVCR100.dll' is missing when install on my computer

wamp,wampserver,msvcr100.dll
When I install WAMP, that show following alert, The program can't start because MSVCR.dll is missing from your computer. Try reinstalling the program to fix this problem. gave OK, then installed the wamp. When I start, WAMP logo is always 'yellow' color only. That's not return to 'green'. What is...

Unable to access Wamp Server from other device on same network

apache,networking,wamp,wampserver
This is my httpd.conf . I have already changed details in tag . But not sure what I am missing . I am able to access on my same computer both with localhost and typing IP address of my computer . Also I made sure that before trying to access...

CONCAT function in MySQL using PHP Undefined Variable

php,mysql,wamp,wampserver
I need help on how to do this correctly. I need to execute this command: SELECT concat(branchname, -->, itemtype, '(, quantity, ')') from monitoring order by itemtype; the syntax works in MySQL console. However, im having trouble with implementing it on php. I always get "Undefined index: branchname" "Undefined index:...

Wamp phpMyadmin Maximum execution time of 360 seconds exceeded

php,phpmyadmin,wamp,wampserver
I just installed WampServer. It works when I visit my project page but when I try to navigate phpMyAdmin i get this error: Maximum execution time of 360 seconds exceeded What is the problem? ...

Enabling virtual hosts in Apache makes every host forbidden (403)

virtualhost,wampserver,apache2.4
I am on Windows 8 and just now installed Wamp 2.5 (Apache 2.4.9) at C:/wamp to test my code locally. I have my source code repository at D:/workpace/project1 which I manage using GIT (GIT is one of the reasons I don't want to disturb its location). After Installing Wamp, I...

Joining two tables but getting no result

mysql,sql-server,wampserver
Table1 Move1 Move2 Fire Ice Grass Fire Ice Grass Table2 Move Power Fire 40 Grass 30 Ice 20 I have these two tables, but when I run this SQL statement in WAMPServer, I get no rows returned: SELECT * FROM Table1, Table2 INNER JOIN Table1 as Hello ON Hello.move1 =...

wamp is not starting completely

php,mysql,wamp,wampserver
I have latest version of wamp i.e WAMPSERVER (64 BITS & PHP 5.5) 2.5 installed. Its not starting completely, not turning to green and so mysql is not starting even though the port is used by apache itself. I have also installed Visual Studio 2012 VC 11 vcredist_x64/86.exe for my...

Zend Framework - How to resolve catchable fatal error on argument 1 of model constructor invocation?

php,zend-framework2,wampserver
Scenario: After setting up the Zend Framework Latest Skeleton App and setting up debugging in my local PHP Debugger Tool Eclipse environment, I have come across an issue while setting up my first model, called ActionItem. As per the instructions on Zend Framework I have included getServiceConfig() in my Module.php....

Wampserver XMLHttpRequest cannot load No 'Access-Control-Allow-Origin' header is present on the requested resource

jquery,ajax,apache,http,wampserver
First, apologies for asking a question which has been asked many times before but I haven't found a suitable answer that I understand or works for me. I'm trying to access another service on my WAMP box but I keep getting the error: XMLHttpRequest cannot load http://192.168.0.2:8080/json.htm?type=command&param=switchlight&idx=9&switchcmd=Off&level=0. No 'Access-Control-Allow-Origin' header...

localhost is not working in wamp server

localhost,wampserver
My localhost is not working, But when I type 127.0.1.1 on browser its working. When I run localhost, I get following thing Please advice me how to solve this....

How to access localhost/drupal from the internet?

php,apache,drupal-7,wamp,wampserver
I have created a simple website whose url is localhost/drupal. But I couldn't access it from the internet. (i,e from another laptop connected to my home router). I have all settings in the httpd.conf file under Apache set correctly as instructed. i,e "Require all granted" is set. I use Apache...

Google ReCaptcha 2 Fatal error: Class 'ReCaptcha\RequestMethod\Post' not found

php,wampserver,recaptcha
I'm a google recaptcha v2 on a local machine running wamp. Everything looks fine except it keeps dying when its supposed to validate the form I'm getting this error: Fatal error: Class 'ReCaptcha\RequestMethod\Post' not found in C:\wamp\www\php\contactForm\Captcha\ReCaptcha.php on line 73 I've pretty much copy/pasted the example code from google: if...

Inserting a data in a table that comes from another table [closed]

java,mysql,netbeans-7,wampserver
I have here this query: rs = st.executeQuery("SELECT holderName,COUNT(holderName) as total, SUM(is_late) as total_late FROM (SELECT *,timestampdiff(minute, t1.startTime, t.IOTime) as is_late FROM (SELECT holderName, IODate, MIN(IOTime) as IOTime FROM tbl_records where IOStatus='Entry'AND IODate BETWEEN'"+from+"'AND'"+to+"' GROUP BY holderName, IODate) t JOIN tbl_emp t1 ON t.holderName = t1.name HAVING is_late > 0)...

Cannot restart wamp after enabling module

apache,svn,tortoisesvn,wampserver
http://www.reloadedpc.com/other/setup-wamp-svn-subversion-windows/ I am following this guide. But I am using latest files. Latest WAMP with Apache 2.4.9 PHP 5.5.12 Latest SVN 1.8.13 from https://subversion.apache.org/packages.html#windows using last option: Win32Svn (32-bit client, server and bindings, MSI and ZIPs; maintained by David Darj) Latest TortoiseSVN-1.8.11.26392-x64-svn-1.8.13.msi I also installed modules for 2.4.x when prompted...

BASE URL Routing not working as intended

laravel,wampserver,laravel-5,laravel-routing
I'm reasonably new to Laravel, I've worked with Laravel 4 but decided to use the fancy new Laravel 5 for a personal project and to really learn it. I thought of posting this over at Webmasters.SE but couldn't find any other questions regarding Laravel. I couldn't find any solutions on...

WAMPSERVER localhost leads me to IIS

wampserver
I have installed wampserver and when I click on localhost it show me IIS, even I disabled IIS in Control Panel, and when I test 80 port it gives me nothing, just the Apache and PHP of wampserver, please help me what should I do ?

MySQL prompted twice for password

php,mysql,database,cmd,wampserver
So I created a user account for a database entitled "publications" with a password... e.g. GRANT ALL ON publications.* to 'myname'@'localhost' IDENTIFIED BY 'mypasswd'; As usual, I type C:\....address of mysql.exe..." -u username However, it doesn't work and cmd closes! I then type C:\....address of mysql.exe..." -u username -p mypassword...

PHP character escape sequence does not work

php,eclipse,web,escaping,wampserver
I am an extreme web programming beginner who is just starting to learn PHP with some knowledge of HTML and JavaScript. I use WAMP Server as my web server and Eclipse PDT as my IDE. I created a .php file in Eclipse. I just want to run a simple code...

How to change the default “www directory” for wampserver

wampserver
All my websites are located in D:/Documents/websites directory. I already managed to point http://localhost/ to that folder based on this video tutorial. But what I also want is whenever I click on "www directory" from the wampserver panel it opens up D:/Documents/websites directory instead of C:/wamp/www which is the default...

Creating absolute path in PHP

php,wamp,wampserver
I've created a PHP file url.php and wrote this codes - <?php define("BASE_URL", "/geo15/" ); define("ROOT_PATH", $_SERVER['DOCUMENT_ROOT'] . "geo15/" ); ?> I've included the url.php file in several pages but when I browse those files, I get this error message: Warning: require_once(inc/url.php): failed to open stream: No such file or...

How to configure Wampserver to act as a WebSocket proxy?

html5,proxy,websocket,wampserver,reverse-proxy
I'm trying to set up a proxy server for a WebSocket chat app, but the client is telling me that it can't establish a connection to the proxy. I'm pretty new to WebSockets, so I have probably missed something. My current setup is as follows: OS: Windows 7 64-bit Proxy:...

PHP backward compatibility

php,mysql,wamp,wampserver,backwards-compatibility
Am having a trouble running the code written for targeted PHP version 5.3. Currently I have PHP version 5.5.12 on my PC. Is there a way to have more than version on the same machine or What should I do to have those codes running perfectly fine. Am using WAMP...

How to auto redirect IP address to a login PHP script?

php,html,wamp,wampserver
I am using WAMP server, and I am a novice. Currently, I have many scripts under /www/mySite. I have set /www/mySite as my default location for the wamp server. However, when you set the browser address to http://myIPAddress, it automatically shows a list of files under /www/mySite. I don't want...

wamp + oracle connection

php,oracle11g,wampserver
I have Windows server 2008 R 2 standard with wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-64b. I have followed instructions provided by oracle, of course using wamp installation: Article I used oracle instant client version: instantclient-basic-nt-11.2.0.4.0 Problem is, that when i enable these lines in httpd.conf, any php file called gives error "Forbidden You don't have...

Installing php_phalcon.dll on wamp server 2.5 x64 [closed]

wamp,wampserver,phalcon
Well this is my first time on phalcon, I want to try it out, but I can't activate the extension. I am using WampServer 2.5 x64. Here's my php version: According to this, I tried 2 versions from their download page: Restarted wamp several times, but I still get a...

Running xdebug debugger from Netbeans opens incorrect page

netbeans,wamp,xdebug,wampserver
When I click Debug Project in Netbeans, my browser opens a page, the URL looks like this: http://localhost/projectname/?XDEBUG_SESSION_START=netbeans-xdebug The page has a directory listing of my project, but http://localhost/projectname is not the correct URL for my project. The correct URL is in this format: projectname.local How to get netbeans to...

Change browser/system default localhost port (80) to custom

apache,xampp,localhost,wamp,wampserver
When I using XAMPP or WAMP I getting the following issue: XAMPP - Port 80 in use by "Unable to open process" with PID 4! 12 And it`s easy to solve it by changing the .ini file of Apache and tell him to use port 8080 (for example)... But then...

Wamp: The configuration file contains a syntax error on line 24

wamp,wampserver
How can I start the wamp server on windows 7 using wamp version 2.4? Following is the error message I get: The configuration file contains a syntax error on line 24: [EParseError][config] section directive "ImageList" already specified. ...

ajax request not working in localhost wampserver

javascript,php,jquery,ajax,wampserver
I have the following code $.ajax({ url: "../profile/companyAutocomplete.php", type: "GET", data: dataQuery, dataType: "json", success: function(responseData) { companySelectHandler(responseData); } }); which i getting called in the production server without any issues. But when I used it in my local system, the ajax request is not made. I have tried in...

How to fix wamp server running different wamp server folder

localhost,wamp,wampserver
I have 3 Wamp servers for my 3 different websites.How can i fix the problem if i turn on my first Wamp server (c:/folder1/wamp) instead the third wamp server is run (c:/folder1/folder2/wamp) how can i fix this? i tried to uninstall the third one but sadly all my Wamp server...

very slow to show result

php,mysql,wampserver
I have a Windows7 system with Wamp 2.4 running this simple php code for ($year = 2004; $year <= 2015; $year++){ for ($month = 1; $month <=12; $month++){ mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $result = mysql_query("SELECT sum(Weight) FROM Lab WHERE YEAR(date)=$year AND MONTH(date)= $month") or die(mysql_error());...

Which on is better? php on iis or php on WAMP Server on windows server 2003(VDS) [closed]

php,mysql,iis,wampserver,windows-server-2003
I have a VDS(Virtual Dedicated Server) that Windows Server 2003 is installed on it. I want to use php and MySQL on my VDS. I have two options: 1-install wamp server as a web server or 2-install iis and then use php and MySQL on iis. Which one do you...