ljmyers
08-05-2005, 10:02 AM
Since the recent server failure and reinstalling everything on my site I have a bug I only just found that I can't seem to get worked out in one of my scripts. I was wondering if anyone here might have any suggestions . . .
When a new poem is submitted and then I confirm so that it will read on the pages, it shows in the "All Categories" category as it should but the database or sql does not appear to read what info is needed to place it in the correct category as well, therefore not being viewable in that particular category it is suppose to be placed via the script. (It is suppose to show in both the "all categories" and the "assigned category") I have to go into the database its self under the specific table which holds the poetry and change the assigned number under category from what is NOW always "0" on the specific poem to the correct number for the specific category that it should be in when the script is suppose to auto do that. It always auto reads "0" when it should read the number assigned for the specific category it was submitted under via the script, therefore leaving it unassigned to a category. Does anyone have any suggestions or ideas as to what or where I can look in the script or the database code to fix this problem?
Link to the page if it helps. The first poem "My Forever" is a sample poem of the problem. It shows in "All Categories" which is the default index page for this link but not in the "Broken Heart" category as it should.
http://www.myonlinemagazine.net/inspirations/index.php
Thanks so much for the help as always and I hope that I did not confuse you.
Sincerely,
Lana
ps - One good thing that came out of that server failure: I learned quite a bit about back-ups and how to reinstall for MySql in phpmyadmin. I originally thought I was really in BIG trouble in that area with my lack of knowledge in sql. :blink:
When a new poem is submitted and then I confirm so that it will read on the pages, it shows in the "All Categories" category as it should but the database or sql does not appear to read what info is needed to place it in the correct category as well, therefore not being viewable in that particular category it is suppose to be placed via the script. (It is suppose to show in both the "all categories" and the "assigned category") I have to go into the database its self under the specific table which holds the poetry and change the assigned number under category from what is NOW always "0" on the specific poem to the correct number for the specific category that it should be in when the script is suppose to auto do that. It always auto reads "0" when it should read the number assigned for the specific category it was submitted under via the script, therefore leaving it unassigned to a category. Does anyone have any suggestions or ideas as to what or where I can look in the script or the database code to fix this problem?
Link to the page if it helps. The first poem "My Forever" is a sample poem of the problem. It shows in "All Categories" which is the default index page for this link but not in the "Broken Heart" category as it should.
http://www.myonlinemagazine.net/inspirations/index.php
Thanks so much for the help as always and I hope that I did not confuse you.
Sincerely,
Lana
ps - One good thing that came out of that server failure: I learned quite a bit about back-ups and how to reinstall for MySql in phpmyadmin. I originally thought I was really in BIG trouble in that area with my lack of knowledge in sql. :blink: