TCwho Posted March 28, 2005 Share Posted March 28, 2005 I have installed 25 Feb 2005 - V1.59 Author: Cedric Taffein I have also applied the fix posted here: http://www.oscommerce.com/forums/index.php?sho...ndpost&p=567669 Also had to chmod the catalogues dir to 777 as 755 would cause timeouts... --- Now when I try to create the catalog, I get the following error: FPDF error: Unsupported image file type: jgpFile : /homepages/15/d113630270/htdocs/catalog/images/1626sm.jgp But this is NOT true ?? I see the extension within my ftp program and I also check the backup copy I have locally and it is .jpg I then tried changing the extension to .gif just to see what would happen and it still gave me the same error.. Then I just deleted the file to see what that would do, and I STILL got the same error even though the image had been deleted.. This is really strange. Does anyone know what is going on? Quote Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
boxtel Posted March 28, 2005 Share Posted March 28, 2005 I have installed 25 Feb 2005 - V1.59 Author: Cedric Taffein I have also applied the fix posted here: http://www.oscommerce.com/forums/index.php?sho...ndpost&p=567669 Also had to chmod the catalogues dir to 777 as 755 would cause timeouts... --- Now when I try to create the catalog, I get the following error: But this is NOT true ?? I see the extension within my ftp program and I also check the backup copy I have locally and it is .jpg I then tried changing the extension to .gif just to see what would happen and it still gave me the same error.. Then I just deleted the file to see what that would do, and I STILL got the same error even though the image had been deleted.. This is really strange. Does anyone know what is going on? <{POST_SNAPBACK}> that one is strange, are you sure you do not have an image defined in your database with the extention jgp ? The pdf class gets the extention from the database, not your filesystem. this is what the class does with the image types: function Image($file,$x,$y,$w=0,$h=0,$type='',$link='') { //Put an image on the page if(!isset($this->images[$file])) { //First use of image, get info if($type=='') { $pos=strrpos($file,'.'); if(!$pos) $this->Error('Image file has no extension and no type was specified: '.$file); $type=substr($file,$pos+1); } $type=strtolower($type); $mqr=get_magic_quotes_runtime(); set_magic_quotes_runtime(0); if($type=='jpg' or $type=='jpeg') $info=$this->_parsejpg($file); elseif($type=='png') $info=$this->_parsepng($file); else { //Allow for additional formats $mtd='_parse'.$type; if(!method_exists($this,$mtd)) $this->Error('Unsupported image type: '.$type); $info=$this->$mtd($file); } set_magic_quotes_runtime($mqr); $info['i']=count($this->images)+1; $this->images[$file]=$info; } Quote Treasurer MFC Link to comment Share on other sites More sharing options...
TCwho Posted March 28, 2005 Author Share Posted March 28, 2005 !!! Amanda !!! Thank you! I did a quick search in the DB and found it .... that was really strange... Well, that problem is solved, but I got another error... Hopefully I can fix that one on my own.... If not, I guess I will be back later :lol: Quote Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
TCwho Posted March 28, 2005 Author Share Posted March 28, 2005 Got Stumped Alright all the error messages are gone... I go to create the pdf catalog and the process seems to finish (tested on IE and FF) ... ...seems to finish...page appears to refresh itself ... and nothing else happens? Im just left with a blank white page with the left column and top header that is normally in admin side... I have the 'default pdf dir' to chmod 777 ? Quote Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
boxtel Posted March 30, 2005 Share Posted March 30, 2005 Got StumpedAlright all the error messages are gone... I go to create the pdf catalog and the process seems to finish (tested on IE and FF) ... ...seems to finish...page appears to refresh itself ... and nothing else happens? Im just left with a blank white page with the left column and top header that is normally in admin side... I have the 'default pdf dir' to chmod 777 ? <{POST_SNAPBACK}> black pages, the worst, could be anything from an ' too much or an } to few. you need to look at your php error log to see if there is a message there. Otherwise, put in statements like : <?php if (tep_get_ip_address() == 'your IP address') { echo 'I am now at position x ';' echo 'variable_x = ' . $variable_x . '<br>'; } this prevents the message to be shown to anybody but you. that way you can trace where things go wrong. Quote Treasurer MFC Link to comment Share on other sites More sharing options...
alkiskai Posted September 19, 2005 Share Posted September 19, 2005 hello i get this error in 1.59 FPDF error: Incorrect orientation: pdf_orientation how can i fix this weird problem Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted March 7, 2006 Share Posted March 7, 2006 When I Will Make The PDF Catalog I get Tihs Error In Admin Fatal error: Cannot access empty property in C:\Apache2\htdocs\Domain\Webshop15\admin\pdf_catalogue.php on line 621 Line 621 - $this->$parent_category_name=''; Line 622 - $this->ParentsName($current_category_level,$i,$categorieslevelsarray, $categoriesnamearray); Someone Please Help ??? //TheExterminator Quote Link to comment Share on other sites More sharing options...
waalker Posted June 12, 2006 Share Posted June 12, 2006 Amanda, I understand that somewhere in my DB, I can find out about what image extensions are allowed. But what am I searching for and how do I fix it? I have the following error after I click on my pdf.gif image: FPDF error: Unsupported image file type: gif someone please help. I followed the instructions to install pdf maker to the "tee." But it is not working. Also, I cannot get the text "Click on the Acrobat-Symbol to download this page as a PDF-Document." to show up beside my pdf.gif image. What is that about? Someone please help ASAP. I have been working on this error for a week! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.