E
EnigmaBurn
Guest
Hello all! I hope someone can help me here. I know this site is for Plesk specifically, but I am hoping one of you gurus can help me. Besides, I have no idea if this might have some permission or setting in Plesk, as the problem is bewildering...
I have a script that I use internally to submit my site's news to a MySQL DB, which is then obviously used publically and is quite popular; not to mention that the RSS feed (XML) produced from the database powers other bits of my site...
Now I have been using this script for more than a year. It is simpler than hell. A basic PHP if/else statement that says if (parameter) then display submit form, else display last 6 entries (with option to add, a link which essentially throws "?add=1" to the url, throwing the parameter to the PHP-SELF object).
For some #$@&in' reason when I migrated to a dedicated host with Plesk the %@*&% stopped working?!?! Sure database information changed, and I updated it. BUT remember that if the else (no parameter) statement is run it displays the last 6 entries - and that's just it - it DOES display the last six entires so surely it is not having a problem accessing the database....
The problem is when I click the link on the default display, to throw the parameter (/submit-rss.php?add=1) the same damned default view comes up...?
I have no idea why this is - other legacy files in the same directory with the same permissions are reading parameters thrown in the url...? I tried a bunch of stuff and hope some one here has a 'You idiot, do this:' sort of answer for which I would be ever so grateful.
Thanks much in advance!
I have a script that I use internally to submit my site's news to a MySQL DB, which is then obviously used publically and is quite popular; not to mention that the RSS feed (XML) produced from the database powers other bits of my site...
Now I have been using this script for more than a year. It is simpler than hell. A basic PHP if/else statement that says if (parameter) then display submit form, else display last 6 entries (with option to add, a link which essentially throws "?add=1" to the url, throwing the parameter to the PHP-SELF object).
For some #$@&in' reason when I migrated to a dedicated host with Plesk the %@*&% stopped working?!?! Sure database information changed, and I updated it. BUT remember that if the else (no parameter) statement is run it displays the last 6 entries - and that's just it - it DOES display the last six entires so surely it is not having a problem accessing the database....
The problem is when I click the link on the default display, to throw the parameter (/submit-rss.php?add=1) the same damned default view comes up...?
I have no idea why this is - other legacy files in the same directory with the same permissions are reading parameters thrown in the url...? I tried a bunch of stuff and hope some one here has a 'You idiot, do this:' sort of answer for which I would be ever so grateful.
Thanks much in advance!