Problem with change of host Problem with change of host
 

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

Problem with change of host

Started by freeedy, November 09, 2007, 02:05:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

freeedy

Hi guys, I just change of host, and after the change I started getting some problems with the cpmfetch. At the beginning it didnt retrieve the new photos, so I update to the newest version and then it get worst. Now it doesnt shoe any image at all. I dont know if there is a problem with the database, or what else. I use exactly the same paths and folder structure, i dont know whats wrong.

I use the cpmfetch in www.lacuadra-st.com
the gallery is in www.lacuadra-st.com/gallery

Joachim Müller

Read the sticky threads on this board to find out what you need to post to get valid feedback.

freeedy

Ok, as I said before I change of host and change all the paths to the ones of my new host. But the cpmfetch doesnt work anymore. The weirdest thing is that the icon for the images appear with the name, let say, of the newest photo, but the actual photo doesn´t appear. Also fetch of text does work, the fetch of the pictures is the one that is not working properly. And I dont know why.

My page is www.lacuadra-st.com
My gallery is in www.lacuadra-st.com/gallery
And I use the cpmfetch on the main page, index.php, which has the following content.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/La Cuadra-St.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>La Cuadra St.</title>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
body {
background-color: #000000;
}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style2 {color: #FFFFFF}
.style3 {
font-family: Calibri;
font-size: 10px;
}
.style4 {color: #FFFFFF; font-family: Calibri; }
.style6 {color: #FFFFFF; font-family: Calibri; font-weight: bold; }
.style13 {font-size: 30px; color: #FFFFFF; font-family: Calibri; font-weight: bold; }
.style14 {font-family: "Lithe Extrabold"}
.style15 {font-size: 30px; color: #FFFFFF; font-family: "Lithe Extrabold"; font-weight: bold; }
.style18 {color: #FFFFFF; font-family: "Lithe Extrabold"; }
.style19 {color: #FFFFFF; font-family: "Lithe Extrabold"; font-weight: bold; }
.style20 {color: #FFFFFF; font-size: 10px; }
.style23 {font-size: 10px}
-->
</style>
<!-- InstanceEndEditable -->
</head>

<body>
<div align="center">
  <h5><img src="logo.png" width="81%" />
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="63%" height="6%">
      <param name="movie" value="menu.swf" />
      <param name="quality" value="high" />
      <embed src="menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="63%" height="6%"></embed>
    </object>
  </h5>
</div>
<p>&nbsp;</p>
<!-- InstanceBeginEditable name="EditRegion1" -->
<table width="80%" border="0" align="center">
  <tr>
    <td>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sample Flash Script</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
<BODY bgcolor="#000000" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0" scroll="auto">
<div align="center">
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js. In Flash, run \"Apply Active Content Update\" in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
'width', '750',
'height', '250',
'src', 'flow',
'FlashVars', 'xmlPath=http://www.lacuadra-st.com/galeria/flow.php', <!--Absolute path to 'flow.php'-->
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'flow',
'bgcolor', '#000000',
'name', 'flow',
'menu', 'true',
'movie', 'flow',
'salign', ''
); //end AC code
}
</script>
</div></td>
  </tr>
</table>
<table width="100%">
  <tr>
    <td width="18%" align="center" valign="middle" bordercolor="#000033" bgcolor="#0000CC"><div align="center" class="style15">GALER&Iacute;A</div></td>
    <td width="5%" rowspan="11">&nbsp;</td>
    <td width="75%" align="center" valign="middle" bordercolor="#FF9966" bgcolor="#0000CC" class="style13 style14">
    <a name="1" id="1"></a><span class="style14">GUESTBOOK</span></td>
    <td rowspan="11">&nbsp;</td>
  </tr>
  <tr bordercolor="#000033">
    <td width="18%" valign="middle" bordercolor="#000033" bgcolor="#000033"><p class="style2 style3 style23">VIEJOS!!!</p>
      <p class="style2 style3">
        <?php 
include_once "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm('./gallery/cpmfetch/cpmfetch_config.php');
$objCpm->cpm_formatStats("Hay %f archivos en %c categoria que incluyen a %a albums, han sido vistos %v veces y solo he obtenido %n PINCHES COMENTARIOS");
$objCpm->cpm_close(); 
?>

      </p>
    <p class="style2 style3">QUE CHINGADOS PASA!!!!</p>    </td>
    <td width="75%" rowspan="9" valign="top" bordercolor="#FF9966" bgcolor="#000033"><?php include('/home/freeedy/public_html/gb/gbinclude.php'); ?></td>
  </tr>
  <tr bordercolor="#000033">
    <td width="18%" bgcolor="#FF6600"><div align="center" class="style6">
      <div align="left" class="style18">Las Nuevas </div>
    </div></td>
  </tr>
  <tr bordercolor="#000033">
    <td width="18%" bgcolor="#000033"><div align="center" class="style20 style3"><?php 
include_once "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm('./gallery/cpmfetch/cpmfetch_config.php');
$options = array( "imagewidth" => '100');
$objCpm->cpm_listMediaAddedOverLastDays(5,$options);
$objCpm->cpm_close(); 
?>
</div>
      <p align="center" class="style4 style2 style3 style23"><?php 
include_once "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm('./gallery/cpmfetch/cpmfetch_config.php');
$options = array( "imagewidth" => '100');
$objCpm->cpm_viewLastAddedMedia(2,2,$options);
$objCpm->cpm_close(); 
?>
</p>    </td>
  </tr>
  <tr bordercolor="#000033">
    <td width="18%" bgcolor="#FF6600"><div align="center" class="style6">
      <div align="left" class="style18">Las Mejores </div>
    </div></td>
  </tr>
  <tr bordercolor="#000033">
    <td width="18%" align="center" valign="middle" bgcolor="#000033"><div align="center"><span class="style4">
      <?php 
include_once "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm('./gallery/cpmfetch/cpmfetch_config.php');
$options = array( "imagewidth" => '100');
$objCpm->cpm_viewRandomTopRatedMediaFrom("owner=freeedy",2,2,$options);
$objCpm->cpm_close(); 
?>

    </span></div></td>
  </tr>
  <tr bordercolor="#000033">
    <td width="18%" bgcolor="#FF6600"><div align="left"><span class="style19">Las M&aacute;s Vistas </span></div></td>
  </tr>
  <tr bordercolor="#000033">
    <td width="18%" align="center" valign="middle" bgcolor="#000033"><div align="center"><span class="style4">
      <?php 
include_once "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm('./gallery/cpmfetch/cpmfetch_config.php');
$options = array( "imagewidth" => '100');
$objCpm->cpm_viewRandomMostViewedMediaFrom("owner=freeedy",2,2,$options);
$objCpm->cpm_close(); 
?>

    </span></div></td>
  </tr>
  <tr bordercolor="#000033">
    <td width="18%" bgcolor="#FF6600"><span class="style19">&Uacute;ltimos Comentarios </span></td>
  </tr>
  <tr bordercolor="#000033">
    <td width="18%" align="center" valign="middle" bgcolor="#000033"><div align="center"><span class="style4">
      <?php 
include_once "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm('./gallery/cpmfetch/cpmfetch_config.php');
$options = array( "imagewidth" => '100');
$objCpm->cpm_viewLastCommentedImages(2,2,$options);
$objCpm->cpm_close(); 
?>

    </span></div></td>
  </tr>
  <tr>
    <td></td>
    <td width="70%" valign="top" bordercolor="#FF9966" bgcolor="#666666"></td>
  </tr>
</table>
<p></p>
<!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>


I have tried upgrading the cpm gallery and also cpmfetch and nothing worked
I hope someone can help me because I dont know whats wrong.

lobosden

this is on your own server?

I mean the path here seems to be the issue

lobosden

this is what I see Notice: Undefined variable: ERRMSG in /home/freeedy/public_html/gallery/cpmfetch/screen.php on line 56

freeedy

Its not my server, I'm paying for the service. But if you mean that if the cpmfetch call and the gallery are in the same server, the answer is yes. The problem may be in the way that I change of hosting provider. I just made a copy of the databases and of the directory and paste them in the new server. Probably a file was created in the old one that had that path, probably I just have to change some stuff in that file, the thing is that I dont know waht file andwhat to change. As you have notice already I am a complete newbie.

Nibbler

I think you need to run the cpmfetch install again.

lobosden

good call nibbler, he got it...
All though he didn't post it ::)