
Originally Posted by
franconov
... the submission of the users come to my website mail and i know that there is a pending resource but i log to my control panel there isn't any pending resource.
Can someone help me pls? My version of IndexU is 5.4.
by "my control panel" I assume you mean you are trying to validate links and that the link does not appear when you browse the category listings. Thus, if you look at the idx_link table in phpmyadmin, you should not see the link. And it should not appear in the idx_link_temp table either.
sometimes there is just no easy way to find out what is wrong. In this particular case I'd try to figure out where the process breaks down. Start with the add.php file. Find the ProcessFormAddUrl function. on the first blank line of this function add the following code:
PHP Code:
echo "<br>line=xxx";
replace xxx with the line number. Upload and add a link. Did the "line=xxx" display on the screen (should be the top, left of the screen)?
since you got the email, you should see that on the screen. to verify that, look for a line "elseif ($add_result == 1) {" and add the echo line from above on the next line. Click the refresh button on your browser and enter any needed information. then click the submit button. Once again you should see the line displayed in the top left part of your screen.
You can probably skip the above two step if you want to.
Now open the link.class.php file. Since you are requesting approval, look for the line "elseif ($add_permission == 1) {" in the add function (about line 1573). at about line 1600 you will see a line "$vid = $dbConn->InsertID();"
on the next line, add the following:
PHP Code:
echo "<br>vid=".$vid;
based on what you have told us, you should see "vid=." you can then substitute the word "query" for "vid." Copy the SQL statement and execute it in your phpmyadmin. Did you get an error?
if you got "vid=xxx" where xxx is some number, then the link was added to the temp file and for some reason the validate function is not working in the ACP.
.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.