xampp

FTPClient Uploading File = SocketException: Connection reset

此生再无相见时 提交于 2019-12-20 20:23:42
问题 I'm trying to upload a simple txt file via FTP using XAMPP and FileZilla. I'm using the Apache Commons Net 3.0.1 Library. This is my code, very basic things: FTPClient client = new FTPClient(); InputStream in = new ByteArrayInputStream("IT WORKS! :D".getBytes()); try { client.connect("localhost"); client.login("user", "password"); client.enterLocalPassiveMode(); client.storeFile("textfile.txt", in); } finally { try { in.close(); client.logout(); client.disconnect(); } catch (Exception e) { }

Xampp control panel is not showing

a 夏天 提交于 2019-12-20 17:41:42
问题 My Xampp control panel is not showing in the desktop (Windows 10), but can only up the servers through the shortcut (minimized option in the task bar). As follows: I have close the application without stopping the servers, will that be the case of this matter? 回答1: This may be too late, but I had the same issue for some time, I will share my workaround, it is not a permanent fix but it works, you have to use procexp from SysinternalsSuite https://docs.microsoft.com/en-us/sysinternals

Can't access MySQL through XAMPP and phpMyAdmin

狂风中的少年 提交于 2019-12-20 10:32:02
问题 I am using XAMPP and I am trying to access phpMyAdmin through http://localhost/phpmyadmin , but I'm getting this error message: Error SQL query: SHOW PLUGINS MySQL said: #1 - Can't create/write to file '/var/folders/_y/gtpc137d1q9gkvsj0dsxjd040000gn/T/#sql9f2_8_0.MYI' (Errcode: 13) I haven't tried to access it in a while so I don't know what has changed since the last time. Can anyone shed light on this for me? I've Googled and can't seem to understand what most people are talking about in

How to work on UAC when installing XAMPP

白昼怎懂夜的黑 提交于 2019-12-20 09:35:41
问题 I am installing Xampp to my computer but when i tried to install it a dialog box is showing up. how do i fix this one.. thank you so much for the help.! the dialog Box: Important! Because an activated User Account Control (UAC) on your system some functions of XAMPP are possibly restricted. With UAC please avoid to install XAMPP to C:\Program Files(Missing Write permissions). Or Deactivate UAC with msconfig after this setup. 回答1: This is a specific issue for Windows Vista, 7, 8 (and

How do i access mysql from mac terminal, using xampp?

久未见 提交于 2019-12-20 09:06:11
问题 I am trying to access mysql from my mac's terminal. I have tried just typing mysql -u root -p (and Enter, but that does not exist..) This is what i have managed to do/located so far: Williams-iMac:mysql noName$ cd /Applications/xampp/xamppfiles/var/mysql/mysql Williams-iMac:mysql noName$ ls This is what is located there. columns_priv.MYD help_relation.frm slow_log.CSV columns_priv.MYI help_topic.MYD slow_log.frm columns_priv.frm help_topic.MYI tables_priv.MYD db.MYD help_topic.frm tables_priv

Fatal error: Uncaught Error: Function name must be a string in C:\xampp\htdocs\em0126\app\code\core\Mage\Core\Model\Layout.php:555 Stack trace: #0

◇◆丶佛笑我妖孽 提交于 2019-12-20 08:37:45
问题 I am facing these errors while accessing Magento folder from XAMPP (localhost/magento): Fatal error: Uncaught Error: Function name must be a string in C:\xampp\htdocs\em0126\app\code\core\Mage\Core\Model\Layout.php:555 Stack trace: #0 C:\xampp\htdocs\em0126\app\code\core\Mage\Core\Controller\Varien\Action.php(390): Mage_Core_Model_Layout->getOutput() #1 C:\xampp\htdocs\em0126\app\code\core\Mage\Install\controllers\WizardController.php(120): Mage_Core_Controller_Varien_Action->renderLayout()

Accessing virtual host from computer on same local network

余生颓废 提交于 2019-12-20 08:30:37
问题 I am trying to make a setup so that I can access my website on a virtual host in computer A from computer B. Both A and B are on the same network. I am using xampp on Win 7. So here is as the problem goes computer A(server) has a virtual host configuration as follows in the httpd-vhosts.conf file. NameVirtualHost project:81 <VirtualHost project:81> DocumentRoot "D:/work/website" ServerName project:81 <Directory "D:/work/website"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride

Using Domain name instead of localhost in with https in xampp

对着背影说爱祢 提交于 2019-12-20 08:19:28
问题 My question may be stupid, But honestly I searched a lot and got success but not complete. I use xampp with windows 8. My host file looks as follows. 127.0.0.1 localhost 127.0.0.1 www.mysite.com My httpd-vhosts.config looks as follows. NameVirtualHost 127.0.0.1 <VirtualHost 127.0.0.1> DocumentRoot "C:/xampp/htdocs" ServerName localhost </VirtualHost> <VirtualHost 127.0.0.1> ServerName www.mysite.com ServerAlias mysite.com DocumentRoot "C:/xampp/htdocs/mysite" </VirtualHost> This works perfect

php pthreads won't launch on xampp 7.0.2

非 Y 不嫁゛ 提交于 2019-12-20 06:18:27
问题 I have installed fresh xampp (7.0.2 atm). I've created php-cli.ini, added pthread extension there and set memory limit to 3 gb. But when I'am trying to launch thread script I got this: PHP Fatal error: Uncaught RuntimeException: cannot start my_thread, out of reso urces in C:\xampp\htdocs\w\start_threads.php:160 Stack trace: #0 C:\xampp\htdocs\w\start_threads.php(160): Thread->start() #1 {main} thrown in C:\xampp\htdocs\w\start_threads.php on line 160 Fatal error: Uncaught RuntimeException:

Display users rank in leaderboard table php mysql?

主宰稳场 提交于 2019-12-20 05:43:14
问题 I have created a quiz page that stores a logged in users quiz result to a leaderboard. I have a table called members with the columns user and quiz_score. I have a leaderboard printing out depending on the result of a quiz taken by the logged in user. I am having problems displaying the specific users position in the leaderboard on their profile page. I would also like to attach a medal (e.g jpeg image) if they are in the top three. here is the code I have so far for the leaderboard: <?php