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: Images in Wordpress sidebar error  (Read 4829 times)

0 Members and 1 Guest are viewing this topic.

polle

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Images in Wordpress sidebar error
« on: May 24, 2009, 02:40:31 pm »

I have in a wordpress sidebar this code to show images in it.
Code: [Select]
<?php
  include 
"/var/www/vhosts/site.com/httpdocs/gall/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("/var/www/vhosts/site.com/httpdocs/gall/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewRandomMedia(1,1);
  $objCpm->cpm_close();
?>


It was working fine until I moved from host and now I am getting this code instead of the images:
Code: [Select]
Can't create/write to file '#sql_4e1e_0.MYD' (Errcode: 17)
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 rand(640853) LIMIT 1

Any idea how to fix it ?

Thanks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Images in Wordpress sidebar error
« Reply #1 on: May 25, 2009, 01:02:34 am »

Yes: ask your webhost for support.
Logged

polle

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Images in Wordpress sidebar error
« Reply #2 on: May 25, 2009, 10:28:39 am »

Yes: ask your webhost for support.

Can you please help in pointing what support is needed by my hosting ?

As I will fix everything needed in the server for this to work, I will appreciate if you can share what the problem is.


Thanks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Images in Wordpress sidebar error
« Reply #3 on: May 25, 2009, 07:55:36 pm »

Tell them that you got the error message
Quote
Can't create/write to file '#sql_4e1e_0.MYD' (Errcode: 17)
- they should know what to do then.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.