eMoneySpace
Welcome, Guest. Please login or register.
Did you miss your activation email?
News: Welcome to eMoneySpace! Jan 30, 2023 03:13 pm




need help on these anypne please :)
Print
Author Topic: need help on these anypne please :)  (Read 987 times)
yiang75
Reputation: (+53)
*

Offline

Gender: Male
Posts: 2881
Referrals: 4


View Profile WWW
Apr 25, 2011 09:25 am

site shows this...

Parse error: syntax error, unexpected ';' in /home/newbux/public_html/click2earn.info/header.php on line 12

and on the header.php line 12 is this

Code:
mysql_select_db()($database_cn, $cn)or die(mysl_error());

any suggestions?
Logged

vinh1000
Reputation: (+114)
*

Offline

Posts: 3456
Referrals: 4

View Profile
Reply #1: Apr 25, 2011 10:56 am

check your code
mysql error means there is a slight error in the database

syntax error means that symbol is not meant to be there and the script didnt expect it to be called for
Logged
chicoi08
Reputation: (+13)
*

Offline

Gender: Male
Posts: 2003
Referrals: 1

View Profile
Reply #2: Apr 25, 2011 10:57 am

site shows this...

Parse error: syntax error, unexpected ';' in /home/newbux/public_html/click2earn.info/header.php on line 12

and on the header.php line 12 is this

Code:
mysql_select_db()($database_cn, $cn)or die(mysl_error());

any suggestions?

It should be written like this.
Quote
mysql_select_db($database_cn, $cn) or die(mysql_error());

Hope it helps.
Logged
yiang75
Reputation: (+53)
*

Offline

Gender: Male
Posts: 2881
Referrals: 4


View Profile WWW
Reply #3: Apr 25, 2011 07:47 pm

tried it but now

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/newbux/public_html/click2earn.info/header.php on line 12
Access denied for user 'newbux_yiang75'@'localhost' (using password: YES)

i think i messed up the DB  frusty frusty
Logged

sankesh
Reputation: (+13)
*

Offline

Gender: Male
Posts: 1351
Referrals: 2

View Profile
Reply #4: Apr 25, 2011 10:22 pm

I think You Have Done Something Wrong In The config.php

I mean You Have Wrote Wrong The DB Username,pass or anything else
So try to change and do
Logged
yiang75
Reputation: (+53)
*

Offline

Gender: Male
Posts: 2881
Referrals: 4


View Profile WWW
Reply #5: Apr 26, 2011 04:01 am

ill check that...if i cant make this run...il delete all files and start  again from step 1  frusty frusty
Logged

sankesh
Reputation: (+13)
*

Offline

Gender: Male
Posts: 1351
Referrals: 2

View Profile
Reply #6: Apr 26, 2011 05:12 am

or else if you want help i can install it for you for free and i will try my best
« Last Edit: Apr 26, 2011 08:49 am by sankesh » Logged
yiang75
Reputation: (+53)
*

Offline

Gender: Male
Posts: 2881
Referrals: 4


View Profile WWW
Reply #7: Apr 26, 2011 08:25 am

or else if you want help i can install it for you for free

thanks sankesh thats really great...but i wanted to try if i could make the site and actually run it...ill try a little more though i dont really intend for the site to go live im just trying out the script but we'll see if it looks good then ill go for it...

will pm you sankesh if i need you thanks again  thumbs up thumbs up
Logged

yiang75
Reputation: (+53)
*

Offline

Gender: Male
Posts: 2881
Referrals: 4


View Profile WWW
Reply #8: Apr 27, 2011 09:43 am

site finished...thanks to sankesh  thumbs up thumbs up

and i also moved it to http://pixels.new-bux.info

now next script big grin
Logged

Print
 
Jump to:  
Copyright © 2008-2023 eMoneySpace. All rights reserved.