Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 10:24 am EDT

Geeklog Forums

Issue with gallery-last_updated_1.0_1.3.6. integration with GL 1.37


Status: offline

thedude

Forum User
Regular Poster
Registered: 12/28/02
Posts: 90
I followed the instruction to install the 1.36 and this showed up at the end of installation. Can't figure out what the heck is wrong with it.. Anyone has this problem before? I did create the /tmp/block-updates.cache in the public_html directory and the problem still exist so it must be something else. Please help. Thanks a million The Dude Warning: Cannot send session cache limiter - headers already sent (output started at c:/inetpub/wwwroot/lib-common.php(859) : eval()'d code:10) in C:/MyPortal/gallery/session.php on line 51 Warning: fopen("/tmp/block-updates.cache", "r"Wink - No such file or directory in C:/MyPortal/gallery/platform/fs_win32.php on line 48 Today's Featured Article
 Quote

Status: offline

squatty

Forum User
Full Member
Registered: 01/21/02
Posts: 269
Standard disclaimer: This block has not been tested with GL 1.3.7 or Gallery 1.3.2 +.

Now, for your problem...yes it has happened before. Please see my site for more info. Run a search for gallery last updated.

Thanks!

---
Danny @ squatty.com


In a world without walls and fences, who needs Windows and Gates?
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 12/28/02
Posts: 90
Hi D. Here is the updated solutions per your suggestion and this is what I did to make it work. 0) Find init.PHP file 1) Find this line if (!$GALLERY_NO_SESSIONS) { require($GALLERY_BASEDIR . "session.php"Wink; } 3) Change it to this if (!$GALLERY_NO_SESSIONS=true) { require($GALLERY_BASEDIR . "session.php"Wink; 4) Save it and rerun the block. As for the cache file issue, this is what I did. 1) Create /tmp/ directory in the public_html directory and make sure it has read/write permission 2) Create block-updates.cache inside tmp directory. 3) Find and open lib-custom.php file 2) Change the location of your cache file (absolute path). define(Update_CACHE_FILE, "/path/to/block-updates.cache"Wink; To: (in my case since I use IIS) define(Update_CACHE_FILE, "C:/Inetpub/wwwroot/tmp/block-updates.cache"Wink That soloved my problems. Many Thanks again for your help D. Cheers, The Dude
 Quote

Anonymous

Anonymous
So you are using this block with IIS, eh? I was convinced it couldn't be done. I can't get it to work for the life of me! I even sort of have Blaine and Squatrty stumped. Did you ever see this error? 1064: You have an error in your SQL syntax near 'WHERE name = 'whosonline_block'' at line 1 This is where I am with the last updated and top 10 gallery blocks. They are driving me nuts!!!
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 12/28/02
Posts: 90
Nope. Sorry.. Never see that problem. More of issue with inconsistency. When I login the problem described disappear. But when I logout it reappear again.. I'm Kinda scratching my head right now... Sorry, I wish I can help you more..
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 12/28/02
Posts: 90
Bad Karma.. Sorry. Now the problem you mention with SQL is happening.. Let me dink around and see what I can find out.. Thanks
 Quote

Anonymous

Anonymous
Sweet.. I am stumped!
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 12/28/02
Posts: 90
Found the solution. I posted it under your old question in squatty. But I'll retype it again anyway for other fellow geeker to try.. Change the line in lib-common.php // Handle Who's online hack if desired if( DB_getItem( $_TABLES['blocks'], 'is_enabled', "name = 'whosonline_block'" ) == 1 ) To: // Handle Who's online hack if desired if( DB_getItem( 'gl_blocks', 'is_enabled', "name = 'whosonline_block'" ) == 1 ) Back to it's original.. Which is if( DB_getItem( $_TABLES['blocks'], 'is_enabled', "name = 'whosonline_block'" ) == 1 ) 1. login to your geeklog 2. go to Block 3. Click Who's online block 4. Under block TITLE add "/" from Who's Online to Who/'s Online Apparently the PHP will stop executing when it sees ' so by adding the slash, it will treats it as text only. Anyway, it works on mine.. Let me know if this help? Good luck Cheers, The Dude Back to top
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 12/28/02
Posts: 90
Sorry... False alarm... My bad.. I thought it worked. Still have the problem..
 Quote

Anonymous

Anonymous
Damn! And here I was so excited!
 Quote

Anonymous

Anonymous
I would switch to Geekary.. It's easier to use and install...
 Quote

All times are EDT. The time is now 10:24 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content