xampp,localhost , I update my xampp and i face this errors Notice: Undefined variable: session in


I update my xampp and i face this errors Notice: Undefined variable: session in

Question:

Tag: xampp,localhost

I update my xampp and i face this errors Notice: Undefined variable: session in
I try to php.ini but no solution i have more than 30 scipts in my localhost and i want to ignore this errors. How can i do this


Answer:

Put this at the end of your php.ini

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT

Make that is right php.ini


Related:


Xampp Config Files AWS


amazon-web-services,xampp,bitnami
I've setup my Bitnami AMI on AWS. I now want to know if there is a way I can change my Xammp config files to access apache and MySQL on the AWS server. Please help....

SQL result show empty results in phpmyadmin xampp [closed]


php,sql,phpmyadmin,xampp
i have make a login and register page in php and every thing work fine and it show me that user register successful . my question is that when i navigate to localhost/phpmyadmin and try to get the user and password i just entered it so i use : SELECT*FROM...

Chrome on OS X doesn't respect etc/hosts and/or httpd-vhosts.conf localhost subdomains


osx,apache,google-chrome,localhost,mamp
this is a situation that's been bugging me a lot the past few days. i have a lot of dev environment subdomains set up in my etc/hosts file like so... 127.0.0.1 localhost 127.0.0.1 sub.localhost 127.0.0.1 another.localhost 127.0.0.1 andanother.localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost and then specified in my Applications/MAMP/conf/apache/extra/httpd-vhosts.conf...

How check if the sum of the values of two columns, in the same row have exactly 100 as result in mysql


mysql,sql,phpmyadmin,xampp,checksum
I have this problem in mysql (phpmyadmin).. I should want to check if the values of 2 columns do 100… for example I have this table | BLABLABLA | BLABLABLA | VALUE1 | VALUE2 | and user want add this values(bla, bla, 20, 30).. I would that 20 and 30...

Connect to localhost:3000 from another computer | expressjs, nodejs [duplicate]


node.js,express,localhost
This question already has an answer here: How can I access localhost from another computer in the same network? [duplicate] 2 answers I'm currently working on a project and I would like to test it from another computer or phone...., this compter is connect on the same network how...

How to run flask socket.io on localhost (xampp)


python,flask,xampp,flask-socketio
The tutorials I have seen use the following code to run the server: if __name__ == '__main__': socketio.run(app) My __init__.py file is: from flask import Flask from flask.ext.sqlalchemy import SQLAlchemy from sqlalchemy.orm import sessionmaker from sqlalchemy import * from flask.ext.socketio import SocketIO, emit app = Flask(__name__) socketio = SocketIO(app) app.debug...

How to upload WordPress child theme to XAMPP + Bitnami + Mac OS?


wordpress,osx,xampp,themes,bitnami
Everything was going so well: installed XAMPP on Mac (OS 10.10.2). Installed Bitnami WordPress module. Imported existing WordPress site (this site is already live). Then imported/installed the theme I want to modify. All good up to that point. Now I want to create a child theme. Following the instructions from...

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...

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...

Is secure to let access to ip-based blocked website to 127.0.0.1?


security,ip,localhost
I have a website that should not be visible for people outside some countries. I do a ip-blocking, but for testing purposes I need to let 127.0.0.1 access to the website. I know that ip blocking isn't totally safe, but, letting 127.0.0.1 access, can create troubles?...

Getting UPLOAD_ERR_PARTIAL when uploading images on localhost


php,html,image,forms,localhost
I'm working on a simple html form to upload an image, then save it on a directory situated on my localhost. <form action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']);?>" enctype="multipart/form-data" method="post"> <label for="img">Pick a picture</label> <input id="img" type="file" name="image"> <input type="submit" name="imageProfil" value="Upload the image"> </form> However, when I handle the image, while checking...

Magento: Object not found in localhost


php,magento,localhost
I'm trying to copy website made in Magento in my localhost and finished another steps: downloaded whole website via ftp account, import database from server, change parameters for database in local.xml (post root for user and empty field for password), clear cache in Magento var folder, change base_url value in...

Is my /etc/hosts file broken?


localhost
I am not sure why my /etc/hosts file look like this: I tried to open it using different editor(vim, sublime, TextEdit). They all look same. Is this normal?...

php server ERR_CONNECTION_REFUSED


php,mysql,apache,localhost,server
I can't make a php server run on my local computer. I tryed with wampserver and Easy PHP. I checked the usage of my port:80, I changed the port from :80 to :8080, I gave Apache and mysql the permissions required on the firewall settings... I did everything, but when...

Chrome now treating IP address of localhost same as somesite.localhost


google-chrome,iis,localhost,vagrant,hosts
For a while I have been running two different server environments on my Windows 7 OS. IIS runs on 127.0.0.1 and I have a Vagrant VM that uses 192.168.33.10. My hosts file looks something like: vagrantsite1.localhost 192.168.33.10 vagrantsite2.localhost 192.168.33.10 iissite1.localhost 127.0.0.1 iissite2.localhost 127.0.0.1 Up until a week or so back,...

Which directory should I locate the PHP project in to make it work with XAMPP?


php,mysql,xampp
I installed XAMPP on my Macbook, and now I try to upload a PHP project to build an Android application that communicates with and uses MySQL. As a newbie, I even do not have a clue where to locate the PHP project so that the XAMPP recognises it and make...

server listens on 127.0.0.1, do I need firewall?


security,networking,localhost,firewall
I run a "private" service on my computer, which I do not want to be accessible from other computers. I configured it to only listen on 127.0.0.1. Do I still need a restrictive firewall? For example, is it possible to receive a packet on eth1, which would somehow have 127.0.0.1...

Netbeans project deployment failure


java,tomcat,netbeans,localhost
server.xml <Connector URIEncoding="utf-8" connectionTimeout="20000" port="8084" protocol="HTTP/1.1" redirectPort="8443"/> Whenever, I'm trying to run my project then, it is redirecting it to my lan ip address resulting deployment failure. Please see below. Server Log The system cannot find the file specified. The system cannot find the file specified. Using CATALINA_BASE: "C:\Users\xxxxxx\AppData\Roaming\NetBeans\8.0.2\apache-tomcat-8.0.15.0_base" Using...

Configure Apache web server to perform SSL authentication


linux,apache,security,ssl,xampp
I'm trying to perform SSL authentication in apache web server, using XAMPP in Linux. After I configure httpd.conf like this, Apache server is failing to start. Can some one help me to fix this ? What is wrong with my configuration ? Alias /bitnami/ "/opt/lampp/apache2/htdocs/" Alias /bitnami "/opt/lampp/apache2/htdocs" <Directory "/opt/lampp/apache2/htdocs">...

Xampp redirects to /xampp


codeigniter,xampp
I just installed codeIgniter on my xampp but whenever I try to go to it's folder (localhost/ci) , it instead takes me to localhost/xampp Can't find what else is needed to do....

Sending email - PHP XAMPP in MAC


php,osx,email,xampp
I am developing a PHP application locally in a mac. I need to develop functionalities where I would need to send emails on certain scenarios. In order to develop and test, I did some research on how to do this in MAC/XAMPP. For the development purpose I want to use...

Upgrade PHP on XAMPP 1.8.3 windows 7 installation


php,xampp
I have XAMPP 1.8.3 installed on my windows 7 machine. Which include PHP 5.5.6. I want to upgrade the PHP to 5.6 version. Is it possible to do the upgrade while keeping the XAMPP bundle other module as it is (Apache, MySQL). Can any one suggest a way to do...

Notice: Undefined index: variable


php,mysql,xampp
I am trying to build the following form: <form method="post" action="Index.php"> <label>Name </label> <input name="name" placeholder="Type Here"><br /> </br> <label>Email </label> <input name="email" placeholder="Type Here"> <br /></br> <label style="display:block;">I need some information regarding:</label> <textarea name="message" placeholder="Type Here"></textarea> <br /> <label>*What is 2+2? (Anti-spam)</label> <input...

error in python mysql where clause


python,html,mysql,apache,localhost
I am newbie to python .written a small code to connect to database and fetch the data from database .I am using python 3.4 and mysql.connector to connect the database HTML form is used to get the name and password .code is as given below <html> <head> <title>test</title> <link rel="stylesheet"...

WP development locally - Error establishing a database connection


mysql,wordpress,localhost
I'm using Linux Mint 13 (Ubuntu 12.04 based) and trying to install a local development environment of a WordPress production project which right now is in an amazon EC2 instance. First, I cloned WP project from its bitbucket repository. After, I made a db environment backup with: mysqldump -u root...

use if condition to compare the password using python


python,html,mysql,apache,localhost
I have HTML form for getting the name and the password .And python codes are used to get that enter data and store in variable first_name and password. For given name stored password is fetched from database using WHERE clause . By using if condition I have tried to compare...

How do I configure my Android emulator to access my localhost?


php,android,android-emulator,webserver,localhost
I am attempting to change my Emulator's Network Address to 10.0.2.2 so that I can test it using PHP stored on my localhost, because 127.0.0.1 is the emulated system's own loopback interface, not the one running on my host development machine. My systems knowledge is limited, so what part of...

XAMPP for Windows - Apache not starting


apache,xampp
I was trying to set up multiple websites on my computer, following this tutorial: https://delanomaloney.com/2013/07/how-to-set-up-virtual-hosts-using-xampp/ I stopped apache and then changed two files: hosts and httpd-vhosts.conf. Here is hosts: # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. #...

Rewrite Rules are not being picked up by the Server


php,regex,apache,mod-rewrite,xampp
I'm unsure why the mod_rewrite.c is not correctly pathing the link Example URL http://developer.prodev/dev_www_trunk/justink/public_html/search/manufacturer/hewlett-packard Rewrite Engine http://developer.prodev/dev_www_trunk/justink/public_html/search/index.php?advanced=0&manufacturer_rewrite=hewlett-packard I have tested my rewrite rules on htaccess tester But this not the same result, I get within my error_log.log that was redirecting to justink/search/manufacturer/... (public_html fails to fall within rewrite). #...

How to make site without /index?


html,apache,dns,xampp,windows-server-2003
I am using xampp what I want is to show my site like this www.mysite.com instead of www.mysite.com/index.html what i have inside htdocs : site.html files of site i have used DNS Server 2003 and make some thing like : www.mysite.com -------> the "ip of the machine in which the...

Local site redirecting to live site


apache,.htaccess,xampp
I'm trying to set up my web files locally for testing. I have my site files in my documents folder. I have xampp installed and have set up apache to use baseball.dev to bring up my local website. But when I try to use it, baseball.dev redirects to the live...

Google Drive - How to List all Files in a specified folder


php,google-apps-script,google-api,google-drive-sdk,xampp
Hi I am stuck here with this situation, I have tried a number of different approaches but I cannot get what I am after. Situation: I have a large number of files in folders hosted on google drive. For instance a single client folder for reports has between 2000-10000 files(this...

UAC error while installing Xampp 1.8.35 on windows 8


windows,xampp,localhost
I am trying to install xampp but before installation it gives me the following error: I have disabled UAC and it gives me this error.When I press ok and install the thing anyway it still won't let start apache and my sql up. Also installation was done in Program file...

ReactJS localhost Ajax call: No 'Access-Control-Allow-Origin' header


javascript,ajax,node.js,localhost,reactjs
Working on the ReactJS tutorial I spinned up a local server with >npm install -g http-server >http-server -c-1 And got local server working fine located at http://localhost:8080 Though, when I attempted to use an AJAX call within one of my components, I got the following error in my chrome console:...

Wordpress and Xampp not open child pages


php,wordpress,xampp
I'm working with wordpress + xampp but I can not see the child pages. Appears: Object not found! The requested URL was not found on this server. The link on that page seems to be in an error or out of date. Please inform the author of that page about...

Xampp Starting properly but in browser localhost is not working


php,apache,xampp
I am using windows 7 and XAMPP Starting properly but in browser(ALL borwsers) localhost is not working incase of that some folders are displaying with the title searchbase. Please refer the screenshot Help me to debug this problem, I checked recently installed programs also browsers windows settings every thing looks...

R rvest connect with local host


r,localhost,rvest
I am creating a way to read in SPSS labels into R. Using library(sjPlot), view_spss(df, useViewer = FALSE) I can create a local html page such as http://localhost:11773/session/file1e0c67270a5.html that shows a nice table with columns for the variable names and the labels I am looking for. Now I want to...

Mysqldump generat empty file in php


php,mysql,xampp
I try to save my database in PHP but not work its work only with Shell With shell (work good) mysqldump --user=root --password= --host=localhost site > C:\xamppp\htdocs\site\sql\tests.sql With php (file is created but empty) system('mysqldump --user=root --password= --host=localhost site > C:\xamppp\htdocs\site\sql\test.sql', $result); for $result i have 1 I work with...

How to use font-face on a local server (xampp)?


css,fonts,xampp,font-face
I'm experimenting with custom fonts using font-face and a local font I have on my computer. I'm using XAMPP for local server and Dreamweaver as the IDE (not sure it matters, though I "managed" my fonts there and added the font I'm trying to use). Anyways, I keep getting the...

URL Rewriting with port number and root folder in PHP


php,linux,.htaccess,mod-rewrite,xampp
I have written URL rewrite like this Options +FollowSymlinks RewriteEngine on RewriteRule ^home index.php RewriteRule ^process login_do.php RewriteRule ^logout logout.php RewriteRule ^request event-request.php RewriteRule ^gallery event-gallery.php RewriteRule ^press-releases/([0-9]+)$ press_releases.php?y=$1 RewriteRule ^single_pr/([0-9]+)$ single_pr.php?id=$1 and it is working perfectly on IIS server after converting this into webconfig but when I deployed my...

How do I send an email of the current page using a button?


javascript,php,html,email,xampp
I am trying to send an email of my html page. This is the code I have so far: <script language="javascript"> function emailCurrentPage() { window.location.href = "mailto:?subject=" + document.title + "&body=" + encodeURI(document.location); } </script> <button onclick="emailCurrentPage()">Email page</button> Which sends the link of the current page but I want the...

Test emails locally with mamp


php,email,localhost,mamp,codekit
First thing first, i'm totally new to this kind of localhost server setup and i've been spending the last couple of days trying to figure this out, but with no luck. I'm developing a php website with an email form. I'm on a MAC using codekit and MAMP FREE and...

PHP parse int wrong in XAMPP windows


php,windows,xampp,parseint
demo $code = '40001042901'; echo (int)$code; //intval($code) //same I test on linux (Ubuntu) that result is 40001042901 but on windows result is 2147483647, what wrong with that? XAMPP 1.8.3, PHP 5.5.15, Apache 2.4.10 (Win32)...

install mongobd on xampp


mongodb,xampp
PHP Version 5.3.8 and php_mongo-1.3.1 i added this file php_mongo-1.3.1-5.4-vc9.dll to xampp/php/ext , i made a copy from it , i changed the name to php_mongo.dll and i added this to php.ini extension=php_mongo.dll before extension=php_exif.dll when i restart the computer and open it again Apache doesn't run after that i...

dynamic css file won't load on web, works on xampp


php,css,xampp
This is my first question and I will try to do a good job. I use a DSS file for my website in development as I want to "display:none" some divs if certain conditions are met (user is logged in -> no need for a register-form) So my index.php head-tag...

Can't open sql connection in cs file - asp.net


c#,mysql,asp.net,database,localhost
I am new to ASP.NET and following a tutorial where a user can register to a site and it checks a database to see if username already exist. When came time to create database, the tutorial said to create it in visual studio (mdf file), but i use MYSQL Workbench,...

Difficulty running my code in web host


php,mysqli,localhost
Currently I am having problem running my code in live server even though i can run it in my localhost. if($con->connect_error){ $response['success'] =0; $response['message'] ='could not connect to database'; print(json_encode($response)); die(print(json_encode($response))); } $response['success'] =1; $response['message'] ='successfully connected to the database'; print(json_encode($response)); $depart = $_GET['depart']; $destination = $_GET['destination']; $sql = "INSERT...

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....