Images in Wordpress sidebar error Images in Wordpress sidebar 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

Images in Wordpress sidebar error

Started by polle, May 24, 2009, 02:40:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

polle

I have in a wordpress sidebar this code to show images in it.

<?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:

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.

Joachim Müller


polle

Quote from: Joachim Müller on May 25, 2009, 01:02:34 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.

Joachim Müller

Tell them that you got the error message
QuoteCan't create/write to file '#sql_4e1e_0.MYD' (Errcode: 17)
- they should know what to do then.