Posted on: 01/04/03 06:46am
By: thedude
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"
- No such file or directory in C:/MyPortal/gallery/platform/fs_win32.php on line 48
Today's Featured Article
Issue with gallery-last_updated_1.0_1.3.6. integration with GL 1.37
Posted on: 01/04/03 04:41pm
By: squatty
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[*1] for more info. Run a search for gallery last updated.
Thanks!
---
Danny @ squatty.com
Issue with gallery-last_updated_1.0_1.3.6. integration with GL 1.37
Posted on: 01/05/03 12:04am
By: thedude
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"
;
}
3) Change it to this
if (!$GALLERY_NO_SESSIONS=true) {
require($GALLERY_BASEDIR . "session.php"
;
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"
;
To: (in my case since I use IIS)
define(Update_CACHE_FILE, "C:/Inetpub/wwwroot/tmp/block-updates.cache"
That soloved my problems.
Many Thanks again for your help D.
Cheers,
The Dude
Issue with gallery-last_updated_1.0_1.3.6. integration with GL 1.37
Posted on: 01/05/03 12:39am
By: 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!!!
Issue with gallery-last_updated_1.0_1.3.6. integration with GL 1.37
Posted on: 01/05/03 01:23am
By: thedude
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..
Issue with gallery-last_updated_1.0_1.3.6. integration with GL 1.37
Posted on: 01/05/03 01:30am
By: thedude
Bad Karma.. Sorry.
Now the problem you mention with SQL is happening.. Let me dink around and see what I can find out.. Thanks
Issue with gallery-last_updated_1.0_1.3.6. integration with GL 1.37
Posted on: 01/05/03 01:33am
By: Anonymous (Anonymous)
Sweet.. I am stumped!
Issue with gallery-last_updated_1.0_1.3.6. integration with GL 1.37
Posted on: 01/05/03 02:01am
By: thedude
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
Issue with gallery-last_updated_1.0_1.3.6. integration with GL 1.37
Posted on: 01/05/03 02:04am
By: thedude
Sorry...
False alarm... My bad.. I thought it worked. Still have the problem..
Issue with gallery-last_updated_1.0_1.3.6. integration with GL 1.37
Posted on: 01/05/03 02:20pm
By: Anonymous (Anonymous)
Damn! And here I was so excited!
Issue with gallery-last_updated_1.0_1.3.6. integration with GL 1.37
Posted on: 01/08/03 11:47am
By: Anonymous (Anonymous)
I would switch to Geekary.. It's easier to use and install...