Hello,
on My Website: www.ekrah.com is the following errorcode displayed. I have disabled the Debug Modus.
mage table if (time() - $CONFIG['randpos_interval'] > 86400) { $result = db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE 1"); $nbEnr = mysql_fetch_array($result); mysql_free_result($result); $pic_count = $nbEnr[0]; $granularity = floor($pic_count / RANDPOS_MAX_PIC); $result = db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET randpos = ROUND(RAND()*$granularity) WHERE 1"); $result = db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '" . time() . "' WHERE name = 'randpos_interval'"); } ?>
---------------------------------------
edit:
i saw that on other pages different Errorcodes displayed. Do You think i should install new ?
Thank You very Much
eke
Hi,
this isn't error code. If you look at your source code, it has this extra code after the <!--Coppermine Photo Gallery 1.2.1--></body>
</html>.
Check your theme/template.html, and check you havn't accidentally copied/moved some code there.
Hello, thanks for your fast Reply !
:arrow: my source code ? I have not edited something. Where do i have to delete the "</body> </html>" :oops:
I can change into all installed Themes, and there is always same ...
Thank You Very Much
eke
Hi, Having looked at different pages, and seeing this changes, depending on the page, I suspect one of your files is corrupt, and is not being parsed.
Have you made changes to any of your php files lately?
No, (perhaps without knowing)
I will try a new installation this night and see what will happen ...
-------------
edit:
QuoteDO NOT overwrite the include/config.inc.php, or your albums folder.
I havent done sth. like that. I have not a bit of php knowledge ...
-------------
edit2:
Now, after new installation, it works. What ever it was, i dont know ... :roll:
Thank You Very Much for Your Help !!
eke
Do not delete the html tags.
You can try replacing your files. If you do, DO NOT overwrite the include/config.inc.php, or your albums folder.