Errorcode at Bottom of Gallery Errorcode at Bottom of Gallery
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Errorcode at Bottom of Gallery

Started by ekeke, February 16, 2004, 09:01:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ekeke

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

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

ekeke

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

Casper

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?
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

ekeke

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

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here