Installation help - MySQL problem.

Status
Not open for further replies.

BattleDuty

Banned
Banned
922
2011
352
0
I was installing URL shortner on my domain "xxx/shrt/xx"

The installation guide was something like this

"Run the file database.sql in the MySQL interface (import->choose file)."

I don't know what does that mean. So I created new DB with new User and password.. Then I edited my config.php file.

I can get the home page load but when I enter some url I get this error

PHP:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/xxx/public_html/xxx/URL/shorturl/index.php on line 26


2) The button is not working.. The reset button.

SqHrs.png


It should clear the space for new url, but when I click nothing happens.

3) According to the guide

"Now change the URL in the .htaccess file in the above configured $sitename URL (RewriteRule ^(.*) http://www.yourdomain.com/?%1 [L])."

Should I just change the URL or remove "?%1 [L])" also?


Thank you.
 
11 comments
When I click phymyadmin

"This feature is not available while logged in with root override. You are logged in with the root, or reseller's password. Please login with this user's account password or go back. "

Looged in with root account. I don't have any other :|

Thanks.
 
Are you using a cpanel resellers account?

You would need to login using the username:password used when adding the account for the site that the database belongs to.
 
Did, still same..

Made new account, got access to myphpadmin, imported sql, but it gets redirect so some lame site automatically.. I guess I have to buy the script and not use the nulled one.

Thank you.
 
Status
Not open for further replies.
Back
Top