xampp

2nd query fails to run

别说谁变了你拦得住时间么 提交于 2019-12-14 03:22:18
问题 I'm new to programming and I have a problem with the following code. The 2nd query is not running. It should insert all the data in the first database to the other database. MySQLConn = New MySqlConnection MySQLConn.ConnectionString = Connection Adapter = New MySqlDataAdapter Dim QRY = "SELECT EquipmentID, Quantity FROM subdbborroweq" Dim EQID As Integer Dim QTY As Integer Dim TimeAndDate As String = DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss") Try MySQLConn.Open() Command = New MySqlCommand

Codeigniter Database Error : 1064 Using MySQL and maybe some session config error

烈酒焚心 提交于 2019-12-14 02:23:10
问题 I'm currently using Codeigniter 3.xx and I trying to make a multilevel login using session checking. I got some tutorial from another website, but there's an error with query. By the way this is for the controler : <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Auth extends CI_Controller { public function index() { $this->load->view('login'); } public function cek_login() { $data = array('nip' => $this->input->post('nip'), 'password' => $this->input->post(

change the web root directory in apache (xampp)

萝らか妹 提交于 2019-12-14 02:14:12
问题 When I echo "PHP_SELF" in localhost running on xampp, I get the project folder as the echoed text e.g. // index.php <?php echo $_SERVER["PHP_SELF"]; ?> The answer is /a3-ver-9.0/index.php but if I was on a server with a domain, that line would just return "/index.php" Is there any way I can temporarily changes the default root in xampp to reflect this? The reason is because I use absolute paths from root to include resources e.g. images. however these absolute paths will not work if the root

Installing Solr in a XAMPP server in a LINUX server

血红的双手。 提交于 2019-12-14 00:26:13
问题 I try to install Solr PHP extension to my webserver. I already have an XAMPP server and I'm using PECL to install solr $ cd /opt/lampp/bin $ sudo ./pecl install solr-1.0.1 But I got the following error: checking libxml2 install dir... /usr/lib checking for xml2-config path... configure: error: xml2-config not found. Please check your libxml2 installation. ERROR: `/tmp/pear/temp/solr/configure --enable-solr=yes --enable-solr-debug=no --with-curl= /usr --with-libxml-dir=/usr/lib' failed During

Why do some of my pages return 500s on my XAMPP server?

我怕爱的太早我们不能终老 提交于 2019-12-13 18:21:57
问题 I cannot figure out what the hell is going on for the life of me. Normally when I want to run a site locally for testing purposes, I simply point my browser to: http://localhost/site_folder This works on the majority of my pages but for some strange (and I mean really strange) reason, some folders give a 500 redirect error. I thought perhaps something was wrong with one of my scripts until I created a new folder and a basic php info page: <?php phpinfo(); ?> my site comes up with: Internal

Xampp's APACHE not working?

眉间皱痕 提交于 2019-12-13 18:10:04
问题 I have installed/reinstalled Xampp server on my laptop for a million times now, and still Apache is not running. At first, it will Run, but few moments later it will automatically stop. I don't know what seems to be the conflict. I have checked my Skype since I once met a conflict on the port usage but in this case, I haven't installed Skype. Can someone please guide me on how to make my Apache run successfully. Note that my mySql runs smoothly, only Apache won't. Please help..:( P.S. When I

Intranet website with Joomla?

◇◆丶佛笑我妖孽 提交于 2019-12-13 16:24:44
问题 my company wants to set up a small intranet portal on LAN. We are about 100 users at max. I am thinking about Joomla on a windows server environment with XAMPP. Just to be safe, is XAMPP efficient for serving about 50 to 100 users ? Does it have some connection limits ? Also how about using it as a webserver for a small intranet portal. Have your say guys. 回答1: XAMPP is "just" a collection of established applications for serving web pages. The underlaying apache can handle far more that the

phpMyAdmin: “URI too large”

泄露秘密 提交于 2019-12-13 16:12:55
问题 I'm using XAMPP 5.6.15 for Windows. I set up many tables with lots of attributes and some content. When I click on "Designer" in phpMyAdmin , then on "export schema", I get this error: Submitted URI too large! The length of the requested URL exceeds the capacity limit for this server. The request cannot be processed. The URI looks as follows: http://localhost/phpmyadmin/schema_export.php?t_x[myTable1.amp_vs_msaccess]=51&t_y[myTable2.amp_vs_msaccess]=152&t_v[myTable3.amp_vs_msaccess]...

apache and mysql start button are disabled in xampp control panel

百般思念 提交于 2019-12-13 16:09:16
问题 When I install xampp its working fine. But once after restart/shutdown, It giving this error. [Apache] Problem detected: Apache not found. [Apache] Disbling apache buttons [Apache] Run this program from your apache root directory. [mysql] Problem detected: mysql not found [mysql] Diabling mysql buttons [mysql] Run this program from your apache root directory. Xampp version: xampp-win32-1-8-3-4-VC11-installer System configuration: windows 7 32 bit Note: while install it shows to disable the

Can't Include External Javascript In File

亡梦爱人 提交于 2019-12-13 14:52:22
问题 I'm new to PHP and VERY, VERY new to any sort of server administration. I'm running from XAMPP 3.1.0 for Windows and using PHP Version 5.4. My PHP script is executing just fine, but for whatever reason I can't seem to include external js files like so: <script type="text/javascript" src="core.js"></script> However, I can do this with no problems. <script type="text/javascript"> alert("some alert"); </script> Does anyone know whats going on? [ EDIT : Here's my folder structure. The path to my