PDA

View Full Version : Graphics script


Sergio
June 11th, 2007, 09:18 PM
I'm having trouble with the m2scripts graphics script.

http://wurped.com/myspace-graphics/cute-myspace-graphics.php It says

Warning: opendir() [function.opendir]: URL file-access is disabled in the server configuration in /home/.dua/lejovit/wurped.com/myspace-graphics/cute-myspace-graphics.php on line 24

Warning: opendir(http://s131.photobucket.com/albums/p318/iheartsergio/cutegraphics/) [function.opendir]: failed to open dir: no suitable wrapper could be found in /home/.dua/lejovit/wurped.com/myspace-graphics/cute-myspace-graphics.php on line 24
cant open dir

Is that a nice way of saying "our server sucks and we limit a lot of functions"? Is there an alternative?

By the way, I'm trying to use photobucket so who knows if I actually did it right. The lines where I put the photobucket path are..

$cat = 'http://s131.photobucket.com/albums/p318/iheartsergio/cutegraphics/';
$urlpath = 'http://s131.photobucket.com/albums/p318/iheartsergio/cutegraphics/';

kenzie
June 11th, 2007, 09:19 PM
I get the same error. I asked about it on the forum but didn't get a reply. :(

minnseoelite
June 11th, 2007, 09:20 PM
without seeing the code my only guess would be that you need to chmod one of the folder or file permissions

Sergio
June 11th, 2007, 09:20 PM
Yeah I noticed. I wasn't sure if I was doing the photobucket part correct, so I just copied you =P

edit: I think it's a dreamhost thing. I noticed you're with dreamhost as well. I might move this to my account on lunarpages. I hate transferring forums!

Sergio
June 11th, 2007, 09:27 PM
without seeing the code my only guess would be that you need to chmod one of the folder or file permissions
The directory that it's trying to get the graphics from is from photobucket, so I doubt it. I'm not sure if I'm even doing that part right.

Edit: I'd post the script but it's a paid script. I'm only posting chunks of the code.

Selena
June 11th, 2007, 09:38 PM
I have dreamhost. I can show you my code if you like and you can look at it. Just hit me up via PM.

I also modded mine for photobucket, but what you need actually is to upload one copy of the graphics to your site and one copy to photobucket, its semi-annoying, but its worth it in the end. As far as I know theres no way to do it directly from photobucket without knowing the direct path to photobucket.

Sergio
June 11th, 2007, 09:39 PM
Thanks, I will PM you. =) I'm also thinking about creating my own script, it doesn't seem too hard.

Selena
June 11th, 2007, 09:48 PM
It certainly isn't hard in the least. With the basics of that script I've formatted mine TONS more customized, as you'll see in the PM I just sent you. The only parts I have to change are 3 variables at the top of each graphics page, and then upload the images and the php file and Its done.

I'm working on a simple tutorial and will post it here.

Sergio
June 11th, 2007, 10:19 PM
I'm sure people will appreciate it. =)