Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
June 30, 2008 - Submit Your Site for the July 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 25, 2008, 06:42:50 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: bug with classified ad program  (Read 108 times)
pkyi
Spacescooter Operator
*****
Offline Offline

Posts: 46


« on: April 29, 2008, 07:22:23 PM »

I seem to have a bug with my classified program (not a 3rd party script but had  a friend code it for me).


Quote

Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 110 in /home/*/public_html/settings.ini on line 18
I cannot connect to the database server because: Lost connection to MySQL server at 'reading initial communication packet', system error: 110


anyone know what is going on?  my site:  www.everylist.com
« Last Edit: April 29, 2008, 07:24:11 PM by pkyi » Logged

www.everylist.com - human-edited list.  Add your site to our list.
MrPhil
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3106



« Reply #1 on: April 30, 2008, 03:01:15 PM »

Can you show us the PHP code around the mysql_connect() and on through the first query? Of course, change user names and passwords and such. Maybe it wasn't coded correctly for a shared server environment, and you're not even properly connecting. By the way, running your page (click on link above) I get a couple of errors about a bad argument supplied to mysql_fetch_array().
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM