iDEV Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

IDEVSPOT COMMUNITY FORUMS. -----( ( ( NOT FOR OFFICIAL TECH SUPPORT ) ) )-----

Author Topic: errors please help  (Read 2158 times)

0 Members and 1 Guest are viewing this topic.

allin1

  • Newbie
  • *
  • Posts: 3
    • View Profile
errors please help
« on: September 12, 2009, 09:06:27 PM »
Hi i have just purchased text adds and whilst i have got the mysql database created with my admin username and password, I can NOT add new members to the user database ??

The error im getting is as follows:
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/m/y/v/myvipdeals/html/advertise-with-us/query_user_register.php on line 32

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/content/m/y/v/myvipdeals/html/advertise-with-us/query_user_register.php on line 32
SQL Error : Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2)
....also, i think the help file is dreadful, because it doesnt help at all
« Last Edit: September 12, 2009, 09:47:42 PM by allin1 »
Logged

userx

  • Sr. Member
  • ****
  • Posts: 326
    • View Profile
Re: errors please help
« Reply #1 on: September 12, 2009, 11:40:31 PM »
You could try placing a file named .htaccess in the admin folder and adding this line only to the file:

DirectoryIndex index.php
Logged

~userx
----------------------------------------------
Idevspot Script Modifications (Paid)
http://www.radforddesigns.com/shop/
use coupon code
10%OFF_ALL_IDEVSPOT_MODS_196
for a 10% discount at checkout

arron

  • iDevSpot
  • Administrator
  • Hero Member
  • *****
  • Gender: Male
  • Posts: 1202
    • View Profile
    • WWW
Re: errors please help
« Reply #2 on: September 15, 2009, 02:43:45 PM »
This is a database connection error, have you run the installer?

--

This error means that the database connection can't be established with the entered values.

It could be either your host value, database name value, database username or database password value.

Usually the host value setting can be found in your web hosting database admin panel, (where you setup the database).

It can look like :

localhost
mysql
an IP address IE, 87.44.221.23
name.someserver.net

or so forth, if you can't find the host value, please contact your web host for help.
Logged

Join our Facebook Fan Page to receive special offers & update information : http://www.facebook.com/pages/iDevSpot/157097554841

userx

  • Sr. Member
  • ****
  • Posts: 326
    • View Profile
Re: errors please help
« Reply #3 on: September 15, 2009, 06:12:37 PM »
Wow, I read that one wrong!  ???

If you still need some help, pm me and I will help you get the file fixed.
Logged

~userx
----------------------------------------------
Idevspot Script Modifications (Paid)
http://www.radforddesigns.com/shop/
use coupon code
10%OFF_ALL_IDEVSPOT_MODS_196
for a 10% discount at checkout

allin1

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: errors please help
« Reply #4 on: September 17, 2009, 08:40:40 AM »
Wow, I read that one wrong!  ???

If you still need some help, pm me and I will help you get the file fixed.

Gents many thanks for both replies,

but i have many problems with this script,
1> when trying to view the preview ad box page i get the folloing error message -
Warning: main(adbox/adbox.php) [function.main]: failed to open stream: No such file or directory in /home/content/m/y/v/myvipdeals/html/advertise-with-us/preview.php on line 63

Warning: main(adbox/adbox.php) [function.main]: failed to open stream: No such file or directory in /home/content/m/y/v/myvipdeals/html/advertise-with-us/preview.php on line 63

Warning: main() [function.include]: Failed opening 'adbox/adbox.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/m/y/v/myvipdeals/html/advertise-with-us/preview.php on line 63

2> when trying to view the home page www.mydomain/advertise-with-us i get the following error message
*****
Warning: main(/home/user/public_html/advertise-with-us/home.php) [function.main]: failed to open stream: No such file or directory in /home/content/m/y/v/myvipdeals/html/advertise-with-us/index.php on line 58

Warning: main(/home/user/public_html/advertise-with-us/home.php) [function.main]: failed to open stream: No such file or directory in /home/content/m/y/v/myvipdeals/html/advertise-with-us/index.php on line 58

Warning: main() [function.include]: Failed opening '/home/user/public_html/advertise-with-us/home.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/m/y/v/myvipdeals/html/advertise-with-us/index.php on line 58
***end of error

Notes: I have been able to successfully create a user account, (as if someone wanted to advertise on my website)
when i closed the above advertise-with-us page down & reopened it i got the above error message,

can someone PLEASE point me in the right direction as im becoming seriously peed off with this now, at the moment, i feel as if im just wasting my time effort and money as i am yet to get up an running....

Not happy at all please please help


Logged

arron

  • iDevSpot
  • Administrator
  • Hero Member
  • *****
  • Gender: Male
  • Posts: 1202
    • View Profile
    • WWW
Re: errors please help
« Reply #5 on: September 18, 2009, 12:40:11 AM »
make sure that you have created at lease one ad, and atleast one ad template for your system.
Logged

Join our Facebook Fan Page to receive special offers & update information : http://www.facebook.com/pages/iDevSpot/157097554841