but i can login to the catalog which uses the db.
after that it gets messed up
Main Topics
Browse All TopicsHi,
I was having issues with my server so the hosters transfered my data/site to another server.
Now the catalog section which uses the database seems to be handicaped and does not function properly. I get the following errors when the pages are opened.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rodneysr/public_html
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/rodneysr/public_html
I cannot get in touch with the guy that had designed the website anymore.
you can access the catalog from the following link with the username rodney_alm and password rodneyjr. link - http://rodneysroses.com/fi
my cpanel details are as follows : rodneysroses.com/cpanel
username: rodneysr password: Overse234@#$
Hoping you can identify the problem so i can solve this headache immediately
Thanks Rodney
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Yes That has solved the problem on that page, but i am running into similar issues on some other pages.
http://rodneysroses.com/fi
I cannot seem to edit or make changes from there. If you tell me what is the change in the script i could modify the rest myself.
Thank you.
Rodney Jr
(I will change all passwords once everything is normalised)
Hi Rodney
When register global is turn on you can refer to a variable like this $var when it is turn off what you need to do is this
$_POST['var'] if it is coming from a form using the POST method or $_GET['var'] if the GET method is being used, if the variable is coming from a link you need to use the GET method.
You can also use $_REQUEST['var'] if the var might come from a form or a link.
Depending on the script there could be hundreds of variables to change, (I do not think it is the case with your script though).
What you need to do is go through every pages used on your website and change the variables to the format they need to be on the new server, this looks like a lot of work to do but it is actually not that bad and it is definitively the way to go.
Don't forget in programming everything has a domino effect, you cannot change just one thing and expect everything to work.
Gamebits
Hi Gamebits
I Have posted another question which is directly related to the current sollution.
http://www.experts-exchang
I tried modifying the files but could not do so.
Thanks Rodney
Business Accounts
Answer for Membership
by: gamebitsPosted on 2009-05-17 at 07:28:15ID: 24406315
The warning is telling you the query did not work, probable reason could be that you do not connect to the db properly.