Problem (First Topic img on Forum Index)

Archived support topics

Problem (First Topic img on Forum Index)

Postby martinchos » Wed 16. Dec 2009, 09:43 | Userzeit: +1.00 / Mi 16. Dez 2009, 09:43

Hi 4seven in first place thanks for to work,today install the mod First_Topic_img_on_ Forum_Index_v_0_.0_1 and i get this error in viewforum.
thanks for advance


phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize(http://server5.rarbg.com/posters2/5/5f9 ... 97bb6e.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found


for each image is a line error


Code: Select all
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize(http://server5.rarbg.com/posters2/5/5f9d95172c3e7b35300d1965822c98258597bb6e.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize(http://server5.rarbg.com/posters2/7/7f7a39bd20f0b81abb1095b39d54fcc0f103a916.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize(http://i45.tinypic.com/1gkj1v.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize(http://music4dance.org/_nw/171/00836647.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize(http://i46.tinypic.com/357rgxe.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize(http://userserve-ak.last.fm/serve/_/33309493/Black+Eyed+Peas+++The+END.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize(http://server5.rarbg.com/posters2/1/19e76cec03fac06de3494f0b5af9faad94e5bfc7.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration
[phpBB Debug] PHP Notice: in file /viewforum.php on line 644: getimagesize(http://i.eimg.com.tw/d/alb/26/135026.300.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found


line 644
Code: Select all
if (!empty($remote_clr_pic) && getimagesize($remote_raw_pic)){
martinchos
 
Posts: 1
 
Last Topic:
Problem (First Topi...
 
Joined:
Wed 16. Dec 2009, 09:31
 
Letzter Login:
Fri 25. Dec 2009, 14:32
 
Posted:
Wed 16. Dec 2009, 09:43 +1.00
Userzeit: Mi 16. Dez 2009, 09:43

Re: Problem (First Topic img on Forum Index)

Postby 4seven » Wed 16. Dec 2009, 23:11 | Userzeit: +1.00 / Mi 16. Dez 2009, 23:11

URL file-access is disabled in the server configuration


it say it in itself. sorry, nothing i can do this time ;)
if i find a alternative version for those restricted boards, i told ya

edit:

i find a way, bcs. it must be safe as standard version:

find

in viewforum.php

Code: Select all
if (!empty($remote_clr_pic) && getimagesize($remote_raw_pic)){


replace with

Code: Select all
if (!empty($remote_clr_pic)){


find

Code: Select all
copy($remote_raw_pic, $phpbb_root_path . 'images/viewforum_thumbs/' . '_' . $remote_clr_pic);


after add

Code: Select all
if (getimagesize($phpbb_root_path . 'images/viewforum_thumbs/' . '_' . $remote_clr_pic)){


find

Code: Select all
$image->save($phpbb_root_path . 'images/viewforum_thumbs/' . '_' . $remote_clr_pic);}}}}


replace with

Code: Select all
$image->save($phpbb_root_path . 'images/viewforum_thumbs/' . '_' . $remote_clr_pic);}}
else{
unlink($phpbb_root_path . 'images/viewforum_thumbs/' . '_' . $remote_clr_pic;)}}}}
User avatar
4seven
Administrator
 
Posts: 427
 
Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...
 
Joined:
Sun 13. Jan 2008, 23:44
 
Letzter Login:
Mon 1. Aug 2022, 16:40
 
Posted:
Wed 16. Dec 2009, 23:11 +1.00
Userzeit: Mi 16. Dez 2009, 23:11


Return to Support



Who is online

Users browsing this forum: No registered users and 12 guests

cron