php,mysql,wampRelated issues-Collection of common programming errors
Iain
apache-2.2 php centos suphp
We have a server that’s handling uploads. The memory limit is set at a ridiculously high level in php.ini (800 M).. however we have gd, which is managing the image resizing, but it is dying at about 60M of memory usage (our error log is reporting a fatal error at this stage).From all our Apache config files (CPanel/WHM managed), I can’t find a RLimitMem that’s set anywhere either.I’ve looked as well if there’s any limits set in our kernel, but can’t find anything there as well.Is there somethin
Haresh Vidja
ubuntu php wordpress
I have moved my server data PHP + WordPress and database(mysql) from one server to another server… All things working fine… but some time i got page blank in click submit button.. This problem occures some time ..I didnt get any error or fatal error in errorLog file and not get access entry in accsessLog file also on time of blank page.. Black page issue occurs some time on same taskSo how can I fix this problem..
Scott Pack
apache-2.2 php centos
So the same code works on my Ubuntu server but when I upload it to my dedicated hosting server running CentOS it seems to add an extra prefix of .:/usr/share/pear:/usr/share/php: I tried setting includepath to different things but it just doesn’t work. The file is in a directory called language in the same folder as the file that is including it and I’m using:include dirname(__FILE__).DIRECTORY_SEPARATOR.”language”.DIRECTORY_SEPARATOR.”storage.inc”; include dirname(__FILE__).”/language/language.
mike
php cpanel pdo
Getting this error: Fatal error: Class ‘PDO’ not foundHave these lines in php.ini:extension=pdo.so extension=pdo_sqlite.so extension=sqlite.so extension=pdo_mysql.soThis shows up in php.info()– –enable-pdo=shared’ ‘Have access to whm but there is no “software” tab from which to access easyapatche? Any suggestions??
Mahbubur R Aaman
php centos zend-framework
Shows PHP Fatal Errormain(): Failed opening required ‘Zend/Loader.php’I have installed ZF on /usr/share/phpzf command is working. I can create project and do other works using zf command. But while including the library path then shows the error.Am i missing something?
Passionate Developer
apache-2.2 php
I am getting below errors despite setting memory_limit in php.ini to 64mb:Fatal error: Out of memory (allocated 6291456) (tried to allocate 91284 bytes) in /home/favstayc/public_html/coverbuddy2/cake/libs/configure.php on line 1067What could I change to fix this issue?
BlaM
php iis7 stdout stderr
Okay, this is slowly getting annoying. I’m used to work with Apache Webservers and never had any of these problems. IIS seems to try to be intelligent – or whatever.Here’s my situation: My customer wants a PHP website and it is supposed to run on an Windows IIS webserver.For my development environment I could use my Apache – but just to be sure I want to do it with IIS, too. So I set up a dev-server with Windows Vista, all the latest Updates and installed IIS. Everything fine!I quickly found ins
WerkkreW
apache-2.2 php varnish
We recently migrated our site to a load balanced apache cluster behind varnish. Since that time a very small subset of users is reporting they cannot view any pages. I have narrowed the issue down quite a bit. This issue was not present before the move, the old infrastructure was a single large box.We are on Rackspace Cloud running 8 apache2 instances behind varnish 3.0 all load balanced using Rackspace Cloud load balancers (Zeus) and 2 mysql instances for a total of 10 servers, all linux.Use
Uvais Ibrahim
php php-extensions pecl expect
I got some serious error while installing expect extension in PHP.I ran sudo pecl install channel://pecl.php.net/expect-0.3.1I got error like this while running make,running: make /bin/bash /tmp/pear/temp/pear-build-rootvXp7LZ/expect-0.3.1/libtool –mode=compile cc -I. -I/tmp/pear/temp/expect -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootvXp7LZ/expect-0.3.1/include -I/tmp/pear/temp/pear-build-rootvXp7LZ/expect-0.3.1/main -I/tmp/pear/temp/expect -I/usr/include/php5 -I/usr/include/php5/main -I/u
Justin808
php http httpd hostgator
OK, so I’m uploading a 350meg zip file. The file one uploaded is unzipped and the contents are processed. The processing consists of reading in a data file, then copying and thumbnailing images, the adding data to a database. This is all once process start to finish. I can see in the log that the datafile is processed. I can see on the filesystem the thumbnails get created. But then it looks like the whole this starts over from scratch with blank post data and it fails.When I look at the httpd l
Timo Schneider
mysql
I can not dump my MySQL-Databeses, however here’s the error message:Cannot load from mysql.proc. The table is probably corruptedAlso mysql_upgrade seems not to work:# mysql_upgrade Looking for ‘mysql’ as: mysql Looking for ‘mysqlcheck’ as: mysqlcheck Running ‘mysqlcheck with default connection arguments mysqlcheck: Got error: 1045: Access denied for user ‘root’@’localhost’ (using password: NO) when trying to connect FATAL ERROR: Upgrade failedWhat does that mean ?
JoelFan
linux mysql debian-wheezy upgrade-issue
I upgraded debian to wheezy and got errors with mysql-server so I removed it. Now I can’t reinstall it. I get:$ sudo apt-get install mysql-server … Unpacking mysql-server (from …/mysql-server_5.5.30+dfsg-1.1_all.deb) … Processing triggers for man-db … gdbm fatal: malloc error Setting up mysql-server-5.5 (5.5.30+dfsg-1.1) … [FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, action “start” failed. … dpkg: error processing
Spacedust
mysql database import mysql5.5
I’m trying to import 641 MB MySQL database with a command:mysql -u root -p ddamiane_fakty < domenyin_damian_fakty.sqlbut I got an error:ERROR 1064 (42000) at line 2351406: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘<br /> <b>Fatal error</b>: Maximum execution time of 300 seconds exceeded in <b’ at line 253However limits are set much higher:mysql> show global variables like “int
DTest
mysql
I am running sysbench on a RHEL 5.6 server running MySQL 5.5.16 using the following setup:sysbench –test=oltp –db-driver=mysql –mysql-user=sbench \–mysql-socket=/var/lib/mysql/mysql.sock –mysql-db=sbench \–mysql-table-engine=innodb –oltp-table-size=1000000 prepareThis creates the default sbench table like so:mysql> SHOW CREATE TABLE sbench.sbtest\G *************************** 1. row ***************************Table: sbtest Create Table: CREATE TABLE `sbtest` (`id` int(10) unsigned NOT
jitendra
mysql innodb
I have XAMPP on my Ubuntu Lucid system and everything worked fine. But there seems to be some problem now and mysql wouldn’t start. I had tried to recover a few Drupal databases and hence copied the raw files to /opt/lampp/var/mysql folder like all other database folders. And, I guess that could have caused the problem. I am pasting the last few lines of the error log. Someone please help me out. 100814 15:17:47 mysqld_safe Starting mysqld daemon with databases from /opt/lampp/var/mysql 100814
Shannon A.
mysql backup bacula
All of my Bacula backups started failing over the weekend with the following MySQL error:Fatal error: sql_create.c:XXX Fill File table Query failed: INSERTINTO File (FileIndex, JobId, PathId, FilenameId, LStat, MD5)SELECTbatch.FileIndex, batch.JobId, Path.PathId,Filename.FilenameId,batch.LStat, batch.MD5 FROM batch JOIN Path ON(batch.Path = Path.Path) JOIN Filename ON (batch.Name =Filename.Name): ERR=Duplicate entry ‘375086058’ for key ‘PRIMARY’It was fairly sudden: it seems to have happened bet
Danjah
mysql connection flash flex-builder-3
I’ve been mucking around with Flash Builder (beta 2) and trying to get some PHP services hooked up. It’s dead simple through FB assuming no hiccups. But I’ve been hiccupping for days now.I’m running the latest WAMP install with only one modification mentioned below (fresh install) on WinXPSP2.TO sum up, I have a very simple DB table set up, primary key + 4 other fields. I have a sample PHP service set up to talk communicate with MySQL and receive the table row data. However, whether I try to con
emilhem
mysql email postfix
I have a somewhat complex SQL query that I’m using to get alias forwarding e-mail in Postfix. The problem is that Postfix uses %s as it’s insert of alias mark in the SQL query. I think this causes the query to fail for Postfix while it works when inserting it directly to MySQL (replacing the %s with a test alias)SELECT email FROM members JOIN groups ON mgroup_others LIKE CONCAT(‘%,’, g_id, ‘,%’) OR member_group_id = g_id WHERE g_title LIKE CONCAT(‘%[‘, ‘%s’, ‘]%’);The Postfix error:postfix/smtpd
Arenstar
mysql macosx
So I’ve been going sort-of crazy for the past few days. I’ve got a mac, OSX 10.6.4, and I HAD mySQL running on it. At some point after the 10.6.4 update, mySQL stopped working. I got an error telling me that mySQL couldn’t find the mysql.sock file. I’ve uninstalled/reinstalled mySQL a couple of times and nothing is helping. if I run the mysqld coommand in my bin directory I get a bunch of errors that lead me to believe there was a permission error on the data directory, but data is owned by
Blackninja543
mysql fedora
I am trying to run a local MySQL server on a Fedora 17 system. I initially installed MySQL through YUM, however when I runmysql_install_db mysqladmin -u root password ‘MYPASSWORD’ service start mysqld.serivceI receive an error in /var/log/mysql121101 12:58:50 [ERROR] /usr/libexec/mysqld: Can’t find file: ‘./mysql/host.frm’ (errno: 13) 121101 12:58:50 [ERROR] Fatal error: Can’t open and lock privilege tables: Can’t find file: ‘./mysql/host.frm’ (errno: 13)After a little snooping I finally located
Terry Gardner
php wamp
Hoping someone can find out where I am going wrong here, ’cause I’m going around and around and getting no where! I’ve got a WAMP5 install which integrates PHP Version 5.2.4, Apache/2.2.4 (Win32) and MYSQL on a Win XP machine. All works fine, but I can’t get LDAP support to work.I’ve checked extension_dir = “c:/wamp/php/ext/” and extension=php_ldap.dll in php.ini and checked the dll is actually in that folder. I’ve copied libeay32.dll and ssleay32.dll to the c:windows\system32 folderWith this co
TomPHP
php mysql zend-framework phpmyadmin wamp
I am using WAMP for my application. I am developing the application in ZEND. When I work with the application I am receiving the following Error. Even I am not able to look at my PHPMYADMIN. The error totally vanish my WAMP!! I am using WampServer2.1e-x32Fatal error: Out of memory (allocated 1048576) (tried to allocate 393216 bytes) in D:\wamp\apps\phpmyadmin3.3.9\libraries\config.default.php on line 2051I have did the following but still I issue remains same:I have set the memory limit to 0 in
Adam Lynch
php apache mongodb installation wamp
I’m trying to execute this:<?php// connect $m = new Mongo();?>But I get the following error:Fatal error: Class ‘Mongo’ not found in C:\wamp\www…..Info:PHP: 5.38 MongoDB: mongodb-win32-i386-2.0.2 MongoDB PHP Driver: mongo-1.1.4-php5.3vc6ts WampServer: 2.2 OS: Windows 7 Enterprise SP1I’ve followed the MongoDB installation fine (incl. adding the DLL to ext & php.ini), I’ve started mongod.exe and WAMP is running.What does this imply is missing/incorrect?Edit:I have got it running
Terry
php imagemagick wamp
PHP 5.3.8WAMP 2.2.21ImageMagick 6.6.2 Q16Fatal error: Class ‘Imagick’ not found happens no matter what. No matter how many times I…Install/reinstall different versions of ImageMagick Try various VC9 builds of php_imagick.dll to ‘wamp\bin\php\php5.3.8\ext\’ Have updated my php.ini to include ‘extension=php_imagick.dll’ Have restarted my pc and WAMP… I can’t count how many times O_oI also get this error on WAMP startupThe funny thing is that php_imagick.dll shows up in my PHP extensions via th
user1916616
android wamp web-hosting jsonarray
I am done with my time table application where in time tables are stored in wamp server,and my android app shall fetch the tables and save them in sqlite DB on android.I used Jsonparsing to get the data from server. I failed to host my tables on www.000webhost.com,In android logcat i am getting warnings and errors on Json parsing.On browsing i got to know that, the php i used in wamp is 3.4 but in above website its 3.2 and it does not support json arrays.Is there any way to solve this problem?
user2652614
android apache http wamp httprequest
hello i am getting an http refused error when using a device. the code is working on the emulator. any help is appreciated. I am currently using wamp server.below is the average error i get from all codes requiring http request12-30 20:20:16.106: W/System.err(14136): org.apache.http.conn.HttpHostConnectException: Connection to http://10.0.2.2 refused 12-30 20:20:16.341: W/System.err(14136): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOper
Benjamin
php android web-services wamp
I am trying to connect my tablet to a Web Service that I have in my WAMP Server. I have tried doing everything I’ve read and had no luck connecting it. The web service reads data from SQL Server and shows it in the application. For now, that is all it needs to do. I have a code that I followed from a tutorial so that I could do the ASync Task, but it still doesn’t help. Here is the code:package com.example.secondtestsqlserver;import java.util.ArrayList; import java.util.List;import org.apache.ht
Tiger
php sql-server apache wamp
I am installing a configuration with WampServer 2.4:- Windows 7 64-bit sp1 – WampServer 2.4 64-bit – PHP 5.4.3 64-bit (came with the WampServer) – Apache 2.4.4 – Microsoft SQL Server 2012 Native Client 64-bit – Microsoft SQLSRV 3.0 (php_sqlsrv_54_ts.dll, php_pdo_sqlsrv_54_ts.dll and they are put in c:/wamp/bin/php/php5.4.3/ext/And I edited the C:\wamp\bin\apache\Apache2.4.4\bin\php.ini with the lines:- extension_dir = “c:/wamp/bin/php/php5.4.3/ext/” – extension=php_sqlsrv_54_ts.dll – extension=p
Rick
php sql-server wamp
I have WAMP and am trying to connect to to my SQL Server 2008 database by entering a domain user and password using the following PHP command:$serverName = “MySQLServer\Instance”; //serverName\instanceName $connectionInfo = array( “Database”=>”dbName”, “UID”=>”myADUserName”, “PWD”=>”MyPassword”); $conn = sqlsrv_connect( $serverName, $connectionInfo);As I understand it, it is trying to authenticate with a SQL Server created user and not from the Active Directory, so I am getting the foll
RationalGaze
ruby-on-rails ruby gem wamp
My main goal is to make Redmine work along with WAMPServer. I followed these steps : How to install Ruby on Rails alongside WampServer?When i have to install rails, a build error seems to happen in my command lineHere’s my error : c:\wamp\ruby\gem install railsTemporarily enhancing PATH to include DevKit…Building native extensions. This could take a while…ERROR: Error installing tzinfo:ERROR: Failed to build gem native extension.C:/wamp/ruby/bin/ruby.exe extconf.rbcreating Makefilemakegcc -I
Web site is in building