Jump to content


error in pixel2life tut


4 replies to this topic

#1 the_dragon_no1

    Young Padawan

  • Members
  • Pip
  • 2 posts

Posted 02 August 2007 - 01:02 AM

Hello !

i realy like your tut on THIS shoutbox, to bad its not working all good :bashhead:

i get the same errors like in the tutorial....

"- View a Live Example of the shoutbox HERE

when you hit 'HERE' there is errors same as i get... and when you have typed something ,then hit send... bunch of errors, both in the tut and my own...

can anyone help with this maybe

tnx

#2 Bug

    P2L Staff

  • P2L Staff
  • PipPipPipPip
  • 3,611 posts
  • Gender:Male
  • Location:Perth, Australia

Posted 02 August 2007 - 06:40 AM

Hey the_dragon_no1 :P

The first thing that you should try and do, to get your example working properly, is to contact the person who wrote the tutorial. On any tutorial that's been published on P2L's Publisher System, you can find the creator of the tutorial on the bottom of any page. In this case, it's Tiago's (also known as funkysoul now) Tutorial. Give him a shout via PM and see whether you can get a response.

On a second note, this topic should have actually been posted in http://www.pixel2lif...hp?showforum=30 - don't worry though; an admin/mod from P2L will move it to that section :)

Basically, if you post your question in that forum, you'll no doubt receive the help you need :)

Hope I've been of some help!

Edited by Bug, 02 August 2007 - 06:40 AM.


#3 nitr0x

    Young Padawan

  • Members
  • Pip
  • 201 posts

Posted 02 August 2007 - 08:43 AM

Those errors are due to the fact that it can't connect to mysql or the database, which means that you're connecting to the wrong mysql information.

#4 the_dragon_no1

    Young Padawan

  • Members
  • Pip
  • 2 posts

Posted 02 August 2007 - 04:29 PM

ok, i see.. sorry i posted wrong xD :P

anyways, i get the same errors with the example....

and there is only one place to to enter in the db stuff... in the shout.php, and all is correct there..

I think the error is within the table creation file...

#5 nitr0x

    Young Padawan

  • Members
  • Pip
  • 201 posts

Posted 04 August 2007 - 02:35 PM

Yes but:

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/625/domains/six4rty.ch/html/p2l/shout1/post.php on line 2

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/625/domains/six4rty.ch/html/p2l/shout1/post.php on line 3

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/625/domains/six4rty.ch/html/p2l/shout1/post.php on line 3

Means this:

It can't connect to mysql (So either the host, username or password is wrong) in post.php
It can't select the database (Because it can't connect to mysql) in post.php





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users