Find What You Want on eBay
RingsWorld.com RingsWorld.com [Have a Blog? Submit It!new] [Create your Site-Ring Community]

PHP - Help with php web host script

:(: Messages Boards, Forums and Discussions :):
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat May 17, 2008 7:28 am
All times are GMT
Board.RingsWorld.com » Internet » Webmaster Community » Programming » PHP
Help with php web host script
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
RSS Feed Add to My MSN Add to My Yahoo! Add to Google
Global Discussions
Author Message
russ



Joined: 22 Nov 2006
Posts: 3
Location: Alanta,Ga. USA
PostPosted: Wed Nov 22, 2006 6:39 am    Post subject: Note Help with php web host script
Subject description: "Tinytool" web host script
Reply with quote

I'm not versed in php (that's an understatement) and am trying to setup a web hosting automation program named tinytool. I'm getting a couple of mysql errors when I try to use it. The errors point to two lines in the code that are supposed to put data into a db table named "IPNlog" which is suppose to be created by a like named file "IPNlog.php". According to the errors I get the db table isn't getting created (see the two errors below).

Errors when I try to use the script.
Quote:
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in /home/russell/public_html/purchase/config.php on line 20

Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/russell/public_html/purchase/config.php on line 21
failed: Table 'russell_tiny.IPNlog' doesn't exist


If someone is willing to help me the link to the order form which is the customer starting point for the script is ... http://www.glitterhost.com/purchase/Order.php .
The script can be downloaded here at my website. tinytool

I am monitoring this post and will be notified immediately of your response.

Thanks for any help which I assure you will be greatly appreciated.

Russ
Back to top
Urban Legend
Site Admin


Joined: 02 Jan 2006
Posts: 129
PostPosted: Wed Nov 22, 2006 7:49 am    Post subject: Note Reply with quote

Hi russ,
Quote:
Unable to save MySQL query result

This error message is usually due to a corrupted MySQL database. You should try to run the mysqlcheck program (or the check function of PhpMyAdmin is you use it) to see if your database doesn't need to repaired. Also verify that your MySQL installation is correct. If the folders have the right privileges to be accessed and if the temporary folder is also created (you can see its path in the my.ini file).

Hope it can help,
Back to top
russ



Joined: 22 Nov 2006
Posts: 3
Location: Alanta,Ga. USA
PostPosted: Wed Nov 22, 2006 8:30 am    Post subject: Note Reply with quote

Quote:
If the folders have the right privileges to be accessed and if the temporary folder is also created (you can see its path in the my.ini file).


The folder permissions! I'll bet that's it!

I'll try and let you know if that was it.

Thanks for your fast response.
Russ
Back to top
russ



Joined: 22 Nov 2006
Posts: 3
Location: Alanta,Ga. USA
PostPosted: Wed Nov 22, 2006 10:21 am    Post subject: Note Reply with quote

The problem was the folder permissions. The author recommends that the folder containing the script be chmod at 777 BUT my webhost doesn't allow chmod of 777!

Here is a link to my post at my webhost's forum.
P/S My webhost is a very good hosting company (I'm not bashing them).
http://www.elixant.com/forums/index.php?act=ST&f=20&t=4088

I wonder if there is a work around?

Russ
Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Board.RingsWorld.com » Internet » Webmaster Community » Programming » PHP
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
PHP: Latest Discussions
Missing openssl
by phpwizard01 - 343 days ago
Need a good captcha generating php script
by danielus - 375 days ago
Glossary and Dictionary Script
by GLOSSARYSCRIPT - 389 days ago
phpBannerExchange2.0 Banner Error
by Yuripro84 - 411 days ago
phpbannerexchange2.0 urgent
by Yuripro84 - 411 days ago
php hit counter
by kwayug - 416 days ago
php codes for downloading and uploading a folder/directory
by kwayug - 416 days ago
comments script on webpage
by osterhas - 435 days ago
Problem with PHP & MySql Database
by rice_Jacob - 458 days ago
Php developers community
by rice_Jacob - 458 days ago
Free PHP Scripts
by coguy11 - 461 days ago
CMS
by Urban Legend - 477 days ago

You can support this site by shopping at the following online stores, thanks :-)
eBay.com - eBay.co.uk - eBay.fr - eBay.com.au - Yahoo! HotJobs - Amazon.com

Link to this Page

If you want to link to this page you can use the following URL:


Example:
 
The PHP Web-Ring Community
The PHP Web-Ring Community
The purpose of this Ring is to link together the best sites and resources on the PHP programming language. Everyone with a quality site is welcome to join. (tutorials, documentation, tips, help, forums,...)
(12 members)

» Submit your site and Join The PHP Web-Ring Community
 
 

External Links
 

PHP NewsLetter
Sign-up to receive daily news on PHP by email.
Your email:


Newave will never sell or share your email address and you can of-course unsubscribe at anytime.

0.059973955154419