I am having trouble with the downloads plugin on phpws 7.9. When I add a download it is showing up in the new submissions but when I click "Read More" I get this error "Warning: Supplied argument is not a valid MySQL result resource in /home/mariealline/www/admin/news.php on line 50" and it takes me to the form to fill read and submit the news or topic. Then when I go to post it, it posts but I am concerned about the mysql error. How can I fix that?
Marie Alline
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could you tell me which version of the downloads plugin you are using please?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-11-27
my Downloads plug-in version is 2.0. The phpwebsite version is 0.8.1. The only problems i really have is:
1. i have to manually insert the Categories and Sub-Categories in the MySQL Database.
2. the downloads_admin page shows only the footer.php and the rest is blank. So when downloads are added (which works), i cant approve them.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This sounds like the plugin I wrote, as such it doesn't work in 0.8.x series at all.
As for the mysql error, it probably means that you didn't set a default news topic in the config file. It's usually of no concern, and just means that you need to make sure to select an appropriate topic for the news submission. This will be enhanced in the module version (whenever I get a chance to work with it).
I would suggest either running the downloads module that badguy has made, or wait patiently for mine with a few nicer features to come out as soon as we finish converting some of the older plugins.
Ed
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am having trouble with the downloads plugin on phpws 7.9. When I add a download it is showing up in the new submissions but when I click "Read More" I get this error "Warning: Supplied argument is not a valid MySQL result resource in /home/mariealline/www/admin/news.php on line 50" and it takes me to the form to fill read and submit the news or topic. Then when I go to post it, it posts but I am concerned about the mysql error. How can I fix that?
Marie Alline
Could you tell me which version of the downloads plugin you are using please?
my Downloads plug-in version is 2.0. The phpwebsite version is 0.8.1. The only problems i really have is:
1. i have to manually insert the Categories and Sub-Categories in the MySQL Database.
2. the downloads_admin page shows only the footer.php and the rest is blank. So when downloads are added (which works), i cant approve them.
This sounds like the plugin I wrote, as such it doesn't work in 0.8.x series at all.
As for the mysql error, it probably means that you didn't set a default news topic in the config file. It's usually of no concern, and just means that you need to make sure to select an appropriate topic for the news submission. This will be enhanced in the module version (whenever I get a chance to work with it).
I would suggest either running the downloads module that badguy has made, or wait patiently for mine with a few nicer features to come out as soon as we finish converting some of the older plugins.
Ed