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: [Solved]: all of a sudden  (Read 8033 times)

0 Members and 1 Guest are viewing this topic.

eeL

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
[Solved]: all of a sudden
« on: March 26, 2008, 03:32:46 am »

cpg1.4 cpmFetch has been working great for our website. I logged in today and all of a sudden I get this:

Quote
SELECT p.filepath AS pFilepath, p.filename AS pFilename, p.aid AS pAid, p.filesize AS pFilesize, p.title AS pTitle, p.caption AS pCaption, p.owner_name AS pOwner_name, p.owner_id as pOwnerId, p.ctime AS pCtime, p.hits AS pHits, p.pid AS pPid, p.pic_rating AS pPic_Rating, p.votes AS pVotes, p.pwidth AS pWidth, p.pheight AS pHeight, p.user1 as pUser1, p.user2 as pUser2, p.user3 as pUser3, p.user4 as pUser4, c.cid as cCid, c.name as cName, c.description as cDescription, c.pos as cPos, c.parent as cParent, c.thumb as cThumb, a.aid AS aAid, a.title AS aTitle, a.description AS aDescription, a.visibility as aVisibility, a.pos as aPos, a.category as aCategory, a.thumb as aThumb, a.keyword as aKeyword FROM cpg1410_pictures AS p LEFT JOIN cpg1410_albums AS a ON p.aid = a.aid LEFT JOIN cpg1410_categories AS c ON a.category = c.cid WHERE 1 AND p.approved='YES' AND ((a.visibility = 0 OR a.visibility IS NULL) AND (a.alb_password IS NULL OR a.alb_password = "")) ORDER BY p.ctime DESC LIMIT 0,8


Here is where you can view it:
http://www.thefishingstation.com/

Any help would greatly be appreciated.
« Last Edit: May 17, 2008, 07:30:59 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: all of a sudden
« Reply #1 on: March 26, 2008, 08:40:50 am »

Post the code used. Link to gallery is http://thefishingstation.com/hook/. As you require login, post a non-admin test user account as well.
Logged

eeL

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: all of a sudden
« Reply #2 on: March 29, 2008, 12:24:30 am »

Thank you

User GauGau
pw test

Quote
echo "<CENTER>";
print ("<a href=\"http://thefishingstation.com/gallery/index.php\">Members Recent Photos</a>");
include "../gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("../gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(2,4);
$objCpm->cpm_close();
print ("<a href=\"http://thefishingstation.com/gallery/index.php\">View Gallery</a>");
echo "</center>";
Logged

eeL

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: all of a sudden
« Reply #3 on: March 30, 2008, 10:37:06 pm »

Got a chance to look at this?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: all of a sudden
« Reply #4 on: March 30, 2008, 10:48:27 pm »

That's not the entire code. What you see is the unwanted output of a mysql query.
Logged

eeL

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: all of a sudden
« Reply #5 on: March 30, 2008, 10:51:15 pm »

Okay, but thsi is what I have used for years and it was working. The only thing I did was to add Joomla on a different domain on a shared hosting.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: all of a sudden
« Reply #6 on: March 30, 2008, 10:53:24 pm »

What kind of answer do you expect? I'm not a mind reader. I don't know what happened with Joomla. I have never used Joomla, I'm not familiar with it at all. Try the code you posted above on a standalone page (not integrated into Joomla) to verify.
Logged

eeL

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: all of a sudden
« Reply #7 on: March 30, 2008, 11:02:34 pm »

Just trying to understand, that's all. Didn't mean to offend you. Thank you for your time in reading this.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: all of a sudden
« Reply #8 on: March 31, 2008, 07:04:55 am »

Did you do as I suggested and try the code on a standalone page to check wether the problem lies in Joomla or cpmFetch?
Logged

eeL

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: all of a sudden
« Reply #9 on: March 31, 2008, 11:57:53 pm »

Joomla had nothing to do with the web site in question. I installed it on the same server that thefishingstation is on. The fishingstation website has no connection to Joomla. I figure that you would want as much honest info/varibles that might have caused the code to stop working. I haven't had a chance to test it as a stand alone, but thanks for your reply.
Logged

eeL

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: all of a sudden
« Reply #10 on: May 16, 2008, 02:43:46 am »

Just replaced the all the fetch files and fixed.
Logged

eeL

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: all of a sudden
« Reply #11 on: May 16, 2008, 02:55:11 am »

I could never understand why a poster can not edit their own post? I run 13 different forums (different brands) Makes no sense.

Anyway, what I meant to say was, I just uploaded all new cpmFetch files and all is well. Thanks!
Logged

eeL

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: all of a sudden
« Reply #12 on: May 16, 2008, 02:55:39 am »

This would be solved.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: all of a sudden
« Reply #13 on: May 16, 2008, 06:49:54 am »

Do you mean "this has been solved"? If yes, please explain us how you did (for the benefit of others with similar issues). Or do you mean "I want this to be solved"?
Logged

eeL

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: all of a sudden
« Reply #14 on: May 16, 2008, 05:42:48 pm »

I had tried to edit my first comment,
Quote
Just replaced the all the fetch files and fixed.

to this:
I just uploaded all new cpmFetch files (made sure I did a backup first) and it had fixed the issue.

Thus, this would be solved. Thank you.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.