Page 1 of 1

Warning/FPDF Error - No Such File or Directory

Posted: Mon Apr 08, 2013 1:19 pm
by niki
Here's another problem that's been going on for months that I can't seem to find a solution for. When a visitor clicks on an image to print a brochure, it says it can't find it even though it's clearly there. Not sure where the disconnect is. See error message below. Does this mean that the image file isn't there or that the function "getimagesize" isn't there?

Warning: getimagesize(../../uploads/images/Product%20Images/Ceramic%20and%20Porcelain/Abbeystone/gris-mosaic.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/ect/public_html/modules/Products/single_tile.php on line 265

Warning: getimagesize(../../uploads/images/Product%20Images/Ceramic%20and%20Porcelain/Abbeystone/gris-mosaic.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/ect/public_html/modules/Products/lib/fpdf.php on line 1202
FPDF error: Missing or incorrect image file: ../../uploads/images/Product%20Images/Ceramic%20and%20Porcelain/Abbeystone/gris-mosaic.jpg

----------------------------------------------
The requested URL /modules/Products/function.getimagesize was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

----------------------------------------------

And IF the problem is supposedly that the "getimagefile" function isn't there, then how could it be possible that other images/pages on the website work perfectly fine given the ALMOST exact same variables?

Except for the fact of the timing. Recently-added images seem to have the issue, where images added prior to around mid-January do not.
(Ex.http://www.besttile.com/modules/Product ... ?tile=3543)

Thanks in advance for your help.
Niki
----------------------------------------------

Cms Version: 1.5.2

Installed Modules:

CMSMailer: 1.73.14
FileManager: 0.4.3
MenuManager: 1.5.3
ModuleManager: 1.2.1
News: 2.9.2
nuSOAP: 1.0.1
Printing: 0.2.6
Search: 1.5.2
ThemeManager: 1.0.8
TinyMCE: 2.4.11
Cataloger: 0.7
ShopMadeSimple: 0.2.1
CGExtensions: 1.15
Album: 0.9.3
CGExtensions: 1.15
CGSimpleSmarty: 1.4
Products: 2.2.3
CompanyDirectory: 1.1.6
FormBuilder: 0.5.11
LightBox: 1.0.1
Comments: 1.9.2
NMS: 2.2.2
CGGoogleMaps: 1.2
FormBrowser: 0.2.3
PHPMyAdmin: 2.8.2-1
AkismetCheck: 0.2.1
Captcha: 0.4
FrontEndUsers: 1.6.5
SelfRegistration: 1.2.3
CustomContent: 1.5.3
MovieLibrary: 2.0.0
CGFeedMaker: 1.0.6
CGBlog: 1.2
Cart: 1.4.1
Orders: 1.2.4
Jobs: 1.0

Config Information:

php_memory_limit:
process_whole_template: true
max_upload_size: 500000000
default_upload_permission: 664
assume_mod_rewrite: false
page_extension:
internal_pretty_urls: false
use_hierarchy: false

Php Information:

phpversion: 5.3.9
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
memory_limit: 128M
max_execution_time: 600
safe_mode: Off (False)
session_save_path: /tmp (1777)

Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.96

----------------------------------------------

Re: Warning/FPDF Error - No Such File or Directory

Posted: Mon Apr 08, 2013 2:29 pm
by Rolf
CMSMS version 1.5.2 (including add-on modules and plugins) and PHP 5.3.9 will give problems. You need to upgrade your CMS...

Re: Warning/FPDF Error - No Such File or Directory

Posted: Mon Apr 08, 2013 3:13 pm
by calguy1000
This is not a problem with CMSMS or even with the Products module. This looks like an issue with some custom modifications you have (or had done for you) to your site.

The Products module does not include the fpdf library for generating PDF's.

I suggest you contact the original site developer or the person who did these modifications for you.

Re: Warning/FPDF Error - No Such File or Directory

Posted: Mon Apr 08, 2013 7:35 pm
by niki
calguy1000 wrote:This is not a problem with CMSMS or even with the Products module. This looks like an issue with some custom modifications you have (or had done for you) to your site.

The Products module does not include the fpdf library for generating PDF's.

I suggest you contact the original site developer or the person who did these modifications for you.
Thanks, calguy, but that's not an option. I'll keep looking into it. I just figured if it worked properly for months and months when adding new items to the products module and then all of a sudden it started given this error message mid-January, that maybe someone would have an idea of what I might try that I haven't thought of yet. The original developers haven't touched the site for a couple years. I only have myself to blame I suppose!! ;D

Any hints at all of where I might look? I know, I know...customizations and not knowing all the facts make that a mere stab in the dark, but don't worry, friends, I won't promise I won't hold it against you if doesn't work. A+ for effort in my world! ;)

Thank you!

Re: Warning/FPDF Error - No Such File or Directory

Posted: Tue Apr 09, 2013 2:12 pm
by niki
Rolf wrote:CMSMS version 1.5.2 (including add-on modules and plugins) and PHP 5.3.9 will give problems. You need to upgrade your CMS...
Rolf...I would LOVE to upgrade CMSMS to see if that will do the trick, but before I do so, is there a possibility I could hose my site even worse with unknown issues? And if so, is it easily revertible? (Keep in mind I'm a coding/php amateur.)

Thanks again for all your help!

Re: Warning/FPDF Error - No Such File or Directory

Posted: Tue Apr 09, 2013 2:48 pm
by Jo Morg
niki wrote:...I would LOVE to upgrade CMSMS to see if that will do the trick, but before I do so, is there a possibility I could hose my site even worse with unknown issues? And if so, is it easily revertible?
It is revertible as long as you back everything up.
Check this.

Re: Warning/FPDF Error - No Such File or Directory

Posted: Fri Apr 12, 2013 2:38 pm
by niki
Thank you. Unfortunately, this comes back to same old issue with not having access to the where the data is stored. Long story, not worth going into at this time as my company is in the middle of transitioning the site anyway. New design/new developer/new hosting company. Same me. :D I'm just trying to work with what I got for the time being.