icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Choosing Surpass » Signed Up? » Wordpress Flickr Photo Album

Signed Up? If you're new with a question, ask here!

Reply
 
LinkBack Thread Tools Search this Thread
Old March 8th, 2007, 5:18 AM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Mar 2007
8 posts
Gave thanks: 1
Thanked 0 times
Wordpress Flickr Photo Album

I recently moved to Surpass, and am having only one trouble.

The gallery refuses to work http://aliciagoestotokyo.com/index.php/gallery/

I looked at the error and came to

http://flickr.com/groups/tantannoodl...to+open+stream

here is the release discussion

And changed "fs" to "db" in lib.flickr.php.


I don't know what else to do, this used to work on my old host.

Wondering if its something in executing php, or with read/write rights

Last edited by yogi183; March 8th, 2007 at 5:21 AM..
yogi183 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 8th, 2007, 11:21 AM   #2 (permalink)
Skittles
Super #1
 
DewKnight's Avatar
 
Joined in Aug 2004
Lives in a space ship
Hosted on dedi
6,816 posts
Gave thanks: 101
Thanked 199 times
Since the server is running with phpsuexec, you don't need (and can't have) the higher permissions on files, or they won't work. Ream more on how to work with it here: http://wiki.surpasshosting.com/index...itle=Phpsuexec
__________________
Mountain Dew Knight
People should not be afraid of their governments. Governments should be afraid of their people.
DewKnight is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
This user thanks DewKnight for this great post!
yogi183 (March 9th, 2007)
Old March 9th, 2007, 12:04 AM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Mar 2007
8 posts
Gave thanks: 1
Thanked 0 times
Thanks for your quick reply, and the link
yogi183 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 9th, 2007, 12:26 AM   #4 (permalink)
Registered User
Fresh Surpasser
 
Joined in Mar 2007
8 posts
Gave thanks: 1
Thanked 0 times
so i chmodded back to 755 and added a php.ini with register_globals=on in it.

This removed one of the errors, i would really appreciate it if someone could shed some more light on how the fix the other 2.

Thanks
yogi183 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 9th, 2007, 12:42 AM   #5 (permalink)
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
Quote:
Originally Posted by yogi183 View Post
so i chmodded back to 755 and added a php.ini with register_globals=on in it.

This removed one of the errors, i would really appreciate it if someone could shed some more light on how the fix the other 2.

Thanks
Double check the folder permissions on all the folders within the g2data folder, including all cache folders. (755 drwxr-xr-x). If still a problem post lines 25-40 (includes line 34 causing the error) of your themes/light-10/photos.php file.
__________________
Where would you be if you were at the highest court in the land (US)?
cowboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 9th, 2007, 12:47 AM   #6 (permalink)
Registered User
Fresh Surpasser
 
Joined in Mar 2007
8 posts
Gave thanks: 1
Thanked 0 times
chmodded all subfolders and files.

Quote:
27 global $SilasFlickrPlugin;
28 get_header();
29
30 // load the appropriate albums index, album's photos, or individual photo template.
31 ?>
32 <div id="content" class="narrowcolumn">
33 <?php
34 include($SilasFlickrPlugin->getDisplayTemplate($photoTemplate));
35 ?>
36
37 <?php if (!is_object($Silas)):?>
38 <div class="flickr-meta-links">
39 Powered by the <a href="http://tantannoodles.com/toolkit/photo-album/">Flickr Photo Album</a> plugin for WordPress.
40 </div>
41 <?php endif; ?>
42
43 </div>
44 <?php
45
46 // uncomment this if you need a sidebar
47 //get_sidebar();
48
49 get_footer();
50 ?>

Last edited by yogi183; March 9th, 2007 at 12:50 AM..
yogi183 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 9th, 2007, 1:45 AM   #7 (permalink)
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
insert before line 34:
Code:
echo "photoTemplate is $photoTemplate<br>include is ".$SilasFlickrPlugin->getDisplayTemplate($photoTemplate); exit;
This will return the value of the two variables, if indeed they are defined, and stop.

You can then see if you have the file and the path is correct.
__________________
Where would you be if you were at the highest court in the land (US)?
cowboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 9th, 2007, 8:09 AM   #8 (permalink)
Registered User
Fresh Surpasser
 
Joined in Mar 2007
8 posts
Gave thanks: 1
Thanked 0 times
alright added that, its correct
http://aliciagoestotokyo.com/index.php/gallery/

is this the thing thats giving me trouble?
(include_path='.:/usr/lib/php')
yogi183 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 9th, 2007, 9:10 AM   #9 (permalink)
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
Quote:
Originally Posted by yogi183 View Post
alright added that, its correct
http://aliciagoestotokyo.com/index.php/gallery/

is this the thing thats giving me trouble?
(include_path='.:/usr/lib/php')
That is not correct. $photoTemplate is empty. It has not been defined. You need to trace back and find out why. Change theme and see if it works OK and then e-mail the author of the theme.
__________________
Where would you be if you were at the highest court in the land (US)?
cowboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On