Hi,
My application is working fine on server A, which is using PHP 4.4.1. However, after it is copied over to server B, which is using PHP 4.4.6, I got several problems related to pdf and xml.
1) I got this message when i tried to generate a pdf, with image:
getimagesize(http://www.myweb.com/image/photo_2.jpg) [function.getima gesize]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/vhosts/myweb.com/httpdocs/folder/myphoto.php on line 103
FPDF error: Missing or incorrect image file: http://www.myweb.com/image/photo_2.jpg
The image is actually there (tested with the direct URL) with all the folder and file permission set to 777. Wonder why it can't read the image?
2) I got this message when i tried to display the contents from a xml file:
Not Found
The requested URL /document/xml/profile.xml was not found on this server.
The xml file is actually exists (tested with the direct URL) with all the folder and file permission set to 777. Any idea about what is missing?
Thanks in advance!
My application is working fine on server A, which is using PHP 4.4.1. However, after it is copied over to server B, which is using PHP 4.4.6, I got several problems related to pdf and xml.
1) I got this message when i tried to generate a pdf, with image:
getimagesize(http://www.myweb.com/image/photo_2.jpg) [function.getima gesize]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/vhosts/myweb.com/httpdocs/folder/myphoto.php on line 103
FPDF error: Missing or incorrect image file: http://www.myweb.com/image/photo_2.jpg
The image is actually there (tested with the direct URL) with all the folder and file permission set to 777. Wonder why it can't read the image?
2) I got this message when i tried to display the contents from a xml file:
Not Found
The requested URL /document/xml/profile.xml was not found on this server.
The xml file is actually exists (tested with the direct URL) with all the folder and file permission set to 777. Any idea about what is missing?
Thanks in advance!
Comment