Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

phpnuke 6.5 & random block errors

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Author Message
aiurea

Beginner
Beginner


Joined: May 01, 2003
Posts: 3

PostPosted: Mon May 05, 2003 10:05 pm    Post subject: phpnuke 6.5 & random block errors Reply with quote

hi, first of all let me tell all of u who r running gallery on phpnuke 6.5 hosted onIIS, it sucks, didnt work for me, it worked for apache (this might save some guy's time) :>
I edit the .php files (those that appear in the error messages) from the random block $http_ things, and i reduced the errors to 3 now
Quote: ›
Warning: fopen(C:\Apache2\htdocs\modules\gallery\albums\block-random.cache): failed to open stream: No such file or directory in C:\Apache2\htdocs\modules\gallery\platform\fs_win32.php on line 48

Warning: Invalid argument supplied for foreach() in C:\Apache2\htdocs\modules\gallery\random_support.php on line 230

Warning: copy(C:\Apache2\htdocs\modules\gallery\albums\\.thumb.jpg): failed to open stream: No such file or directory in C:\Apache2\htdocs\modules\gallery\platform\fs_win32.php on line 26

and here is the cache line from the block
Quote: ›
define(CACHE_FILE, $gallery->app->albumDir . "/block-random.cache");
define(CACHE_EXPIRED, 86400);

i looked in the albums directorey which is in gallery folder , and i couldnt find any block-random.cache ... i am assuming thats the problem, cuz there is no cache........... any ideas how to fix this ?
if u wanna have a look, tell me and i'll give ya my website
btw i am using 1.3.3 & apache 2.0.45/phpnuke 6.5/php 4.3.2
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: phpnuke 6.5 & random block errors  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Tue May 06, 2003 3:01 pm    Post subject: Reply with quote

the cache file is automatically generated every 24 hours. change the forward slash to a back slash in the cache_file definition. i've no experience in running this on windows, i'm a linux junkie.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
aiurea

Beginner
Beginner


Joined: May 01, 2003
Posts: 3

PostPosted: Sat May 10, 2003 12:05 pm    Post subject: Reply with quote

that didnt work Sad
should i create the albums folder in the root directory of the webserver , or is it fine in modules/gallery/albums ? cuz i looked in the folder, and the cache file is missing, its not in there.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Sun May 11, 2003 11:56 am    Post subject: Reply with quote

it shouldn't matter where you have the albums located, as long as you specify it in the files properly and in your gallery config.
it could be an IIS issue...do you have the albums directory owner set as the webserver?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
aiurea

Beginner
Beginner


Joined: May 01, 2003
Posts: 3

PostPosted: Wed May 14, 2003 12:48 am    Post subject: Reply with quote

the access to the albums folder is set to "everyone' with full read/write etc
now i am down to these 2 errors
Code: › Warning: fopen(CACHE_FILE): failed to open stream: No such file or directory in C:\Apache2\htdocs\modules\gallery\platform\fs_win32.php on line 48

Warning: Invalid argument supplied for foreach() in C:\Apache2\htdocs\modules\gallery\random_support.php on line 230

any other ideas ? no one used the block on a windows server?
Back to top
Offline View user's profile Send private message
elight

Beginner
Beginner


Joined: May 15, 2003
Posts: 1

PostPosted: Fri May 16, 2003 12:55 am    Post subject: No one has figured this out yet? Reply with quote

Whatever you did to change this script from the original code, broke it for windows. The original code for the random block, posted on the gallery site forums, works with windows NT server/apache 2/php 4.3.1 (as dll)/mod_perl.

Your code however, does not work. I had exactly the same errors as this user, even after fixing the gallery variables for php 4.3.1

Something changed in your code that really jacked up the way it worked with windows. I was going to fix it, but since the other code works out of the box, I am pushing ahead with other things and may come back to it later when I finish other things.

-Gene
Somewhere in the Kuwaiti desert...
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia