Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Critical Error  (Read 14679 times)

0 Members and 1 Guest are viewing this topic.

ComicDom1

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Critical Error
« on: December 12, 2008, 08:42:36 am »

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
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Critical Error
« Reply #1 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). 

ComicDom1

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Critical Error
« Reply #2 on: December 12, 2008, 09:45:13 am »

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
Logged

Mick2015

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Critical Error
« Reply #3 on: February 01, 2009, 08:57:33 pm »

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
Code: [Select]
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
Code: [Select]
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
Code: [Select]
cpg_die(CRITICAL_ERROR, $out, __FILE__, __LINE__);
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Critical Error
« Reply #4 on: February 01, 2009, 11:33:44 pm »

then see my above answer

Mick2015

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Critical Error
« Reply #5 on: February 02, 2009, 02:45:53 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Critical Error
« Reply #6 on: February 05, 2009, 07:29:53 am »

No support for e107.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 21 queries.