Critical Error Critical Error
 

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

Critical Error

Started by ComicDom1, December 12, 2008, 08:42:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ComicDom1

After successfully reloading the modpack and intergrating it with E107 I get this message when I double click on a picture:

Critical error
There was an error while processing a database query

Anyone have any idea's on how to correct this?

Thanks
Jason

Stramm

Most probably the bridge file is missing some var definitions. I have added these necessary stuff to smf and phpbb bridges but of course I'm not able to maintain all supported apps (see the announcement thread).
Therefore compare an existing modded bridge (eg. smf) file with the original version of it. See what has changed (3-4 lines) and replicate that change. You'll have to look into the mysql db for the naming sheme of your app (e107). 

ComicDom1

Thanks Stramm I will give it a look.  I found out they are updating the data bases on my server right now so that could be the issue so I will not know until the morning.  Tommorrow, I can do a line by line comparision of the bridge program without the modpack and see if there is anything missing. 

Jason

Mick2015

Quote from: Stramm on December 12, 2008, 09:28:18 AM
Most probably the bridge file is missing some var definitions. I have added these necessary stuff to smf and phpbb bridges but of course I'm not able to maintain all supported apps (see the announcement thread).
Therefore compare an existing modded bridge (eg. smf) file with the original version of it. See what has changed (3-4 lines) and replicate that change. You'll have to look into the mysql db for the naming sheme of your app (e107). 
im glad i found this topic, cos i get the same error and needing some tech help

this is wot ive got on my website

  • E107 Version 0.7.15
    coppermine  1.4.19
    cpg1.4

i put debug mod on and this  is wot i get

first i get the error thne this
While executing query "SELECT c.msg_id, c.msg_author, c.msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, c.author_id, c.author_md5_id, c.msg_raw_ip, c.msg_hdr_ip, c.pid, u. AS avatar_url FROM cpg14x_comments AS c LEFT JOIN `*******`.e107_user AS u ON c.author_id=u.user_id WHERE pid='1' ORDER BY c.msg_id ASC" on 0

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS avatar_url FROM cpg14x_comments AS c LEFT JOIN `*******`.e107_user ' at line 1


THen this line pointing out the the code in that  line has an error or not
File: /home/iceclan/public_html/Micksworld/gallery/include/functions.inc.php - Line: 248 

with  funtions.inc.php ive took a look at that it and  to me it is fine butim not to sure wot to do next
cpg_die(CRITICAL_ERROR, $out, __FILE__, __LINE__);


Stramm


Mick2015

well i did try that before posting and still no luck but will try again  to make sure

Joachim Müller