forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: fangweile on August 22, 2007, 10:17:04 am
-
I try to use cfimageget to html img tag but it doesn't show any image at all.
I already change $ALLOW_DIRECT_ACCESS to "true"
and $urltocpm to "/gallery/"
but still an error message occur when I try to view the cfimageget.php file
faultCode0faultStringParse error:syntax error, unexpected $end in /home/xxxxxxxxxxxx/htdocs/gallery/cpmfetch/cfimageget.php on line 498
what is seems the problem?. I really need this cfimageget for my site, I will help me in many ways.
Is there any restriction in web server that affects the functionality of the cfimageget script. ::) ???
My allow_url_fopen is disabled in my web host. ::)
Hope someone could help, thanks in advance.
-
I try to use cfimageget to html img tag but it doesn't show any image at all.
I already change $ALLOW_DIRECT_ACCESS to "true"
and $urltocpm to "/gallery/"
but still an error message occur when I try to view the cfimageget.php file
what is seems the problem?. I really need this cfimageget for my site, I will help me in many ways.
Is there any restriction in web server that affects the functionality of the cfimageget script. ::) ???
My allow_url_fopen is disabled in my web host. ::)
Hope someone could help, thanks in advance.
What version of cpmfetch? What happens when you call cfimageget directly from your browser?
-
thanks a lot vuud for your reply. :)
What version of cpmfetch?
cpmfetch version 2.0
What happens when you call cfimageget directly from your browser?
when I view it on firefox, it only display the alternative text
http://www.allkoreans.net/gallery/cpmfetch/cfimageget.php
and when I view it from IE it display this
Only one top level element is allowed in an XML document. Error processing resource 'http://www.allkoreans.net/gallery/cpmfetch/cfimageget.php'. Line 2, Position 489
<?xml version="1.0"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>0</int></value></member><member><name>faultString</name><value><string>Warning:fopen() [<a href='function.fopen'>function.fopen</a>]: Unable to access albums/userpics/10001/thumb_31goodtaehee5go.jpg in /home/vol2/4sql.net/sq_697468/allkoreans.net/htdocs/gallery/cpmfetch/cfimageget.php on line 500</string></value></member></struct></value></fault></methodResponse><?xml version="1.0"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>0</int></value></member><member><name>faultString</name><value><string>Warning:fopen(albums/userpics/10001/thumb_31goodtaehee5go.jpg) [<a href='function.fopen'>function.fopen</a
I also try the cpmfetch dev but it doesnt work either.
-
thanks a lot vuud for your reply. :)
cpmfetch version 2.0
when I view it on firefox, it only display the alternative text
and when I view it from IE it display this
I also try the cpmfetch dev but it doesnt work either.
I think the latest dev version fixes this problem.
What sort of web host are you on? The errors are in XML, and XML that IE blows up on
Not really relevant to the problem, but curious
-
I found the same problem as mine here http://forum.coppermine-gallery.net/index.php?topic=43917.0
I check their cfimageget.php and found that they are all working fine now.
I have read all the replies on that thread and still can't find any appropriate answer to fix the error.
How did they make it to work ??? ::) ::) ::) ??? . I really need cfimageget in my site. It will truly a great help for me.
Anyway
using the stable version 2.0
My display error has changed to
faultCode0faultStringWarning:fopen() [function.fopen]: Unable to access albums/userpics/10001/thumb_14.jpg in /home/vol2/4sql.net/sq_697468/allkoreans.net/htdocs/gallery/cpmfetch/cfimageget.php on line 502faultCode0faultStringWarning:fopen(albums/userpics/10001/thumb_14.jpg) [function.fopen]: failed to open stream: No such file or directory in /home/vol2/4sql.net/sq_697468/allkoreans.net/htdocs/gallery/cpmfetch/cfimageget.php on line 502
same as the error message in the link above.
What sort of web host are you on?
I am hosting my site at byethost
using cpmfetch version 2.1.1 dev,
the cfimageget.php file only display a blank white page with a
-
After having my trial and error fixing this problem, Finally I made it. :D
cfimageget.php is totally working fine this time. I am really feel glad that it is working fine now. ;D
All I have to do is to copy the following files in the directory of my coppermine gallery
cfimageget.php
cpmfetch_config.php
cpmfetch_dao.php
I have tried all the functions
cfimageget.php?album=6&size=int
cfimageget.php?category=3&size=int
cfimageget.php?size=int&cmd=last
cfimageget.php?size=int&album=6
cfimageget.php?size=int
And hopefully works very fine.
I think of it just because when I call the cfimageget.php file, the image filename has been detected correctly but the path is wrong. I decided to move the following files above to see if I will get the same error but it display the right image instead and works like a charm.
cpmFetch is really great, thanks a lot vuud for developing it. Keep it up. ;)