Home | Support Forums | Your Account | Gallery [2] | 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  

Center screen is empty when uploading random block
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Blocks View previous topicPrinter friendly versionView next topic
Author Message
dendave

Beginner
Beginner


Joined: Aug 11, 2003
Posts: 8

PostPosted: Sat Aug 16, 2003 5:47 am    Post subject: Center screen is empty when uploading random block Reply with quote

Hi,

I've downloaded the improved NG random block, but is does not work right.
When I add the NG Random block, the center screen gets empty. Only the left side is generated correctly.
I tried everything... navigating the other modules etc., but nothing seems the work than, ONLY when I go to my gallery, the Random block is functioning and the center screen is filled again. (Language of Gallery should be "Nederlands")
Any idea?


Code: › $GALLERY_BASEDIR = "/scoutnet/users/sv/modules/Gallery/";
define(ALBUM_BASEADDR, "http://sv.scoutnet.be/albums/");
define(SERVER_ADDR, "http://sv.scoutnet.be/");
require_once($GALLERY_BASEDIR . "init.php");
require_once($GALLERY_BASEDIR . "random_support.php");


I've already searched the Forums-section, but I cannot find any applicalbe solution.

And since I'm asking...
I've a directory with more than 700 pictures uploaded.
When I want to add pictures to my Gallery I just specify the URL, Gallery only list the first 60 pictures. Since I cannot find an option specifying this behaviour, is this by default?

Please help...

Thanks,
Dave


----
Gallery URL (optional but very useful): http://sv.scoutnet.be/modules/Gallery
Gallery version: 1.3.4-pl1 ML34
Apache version: Apache/1.3.27
PHP version (don't just say PHP 4, please): 4.3.1[/url][/code]
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Center screen is empty when uploading random block  

Back to top
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Sat Aug 16, 2003 6:06 am    Post subject: Reply with quote

Try moving the RANDOM BLOCK to the right - see if that clears the error (I guess you may not want it on the right but it will determine if the fault is there).

http://sv.scoutnet.be/index.php
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dendave

Beginner
Beginner


Joined: Aug 11, 2003
Posts: 8

PostPosted: Sat Aug 16, 2003 6:19 am    Post subject: Reply with quote

OK...
There is some progress...
I've moved it to the right side.
Center screen is working again, but now the block is not visible.
(Checked: Activated for all visitors)
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Sat Aug 16, 2003 6:45 am    Post subject: Re: Center screen is empty when uploading random block Reply with quote

Hmn - strange that NO errors show up?!! Confused

Can you make an error show up? Or is there NEVER any errors?

Maybe looks for this in random_support.php:

Code: ›
} else {
$choose = rand(1, $count);


And replace with this:

Code: ›
} else {
$count = floatval($count);
$choose = rand(1, $count);


Until we can see an DISPLAYED ERROR - is difficult to find the fault?

Maybe Dari has the answer?
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dendave

Beginner
Beginner


Joined: Aug 11, 2003
Posts: 8

PostPosted: Sat Aug 16, 2003 7:03 am    Post subject: Reply with quote

I've added the code..., but (unfortunately) no error and no "random picture"

PS: I've changed the language back to English. Thaught this would be better for you guys.
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Sat Aug 16, 2003 7:21 am    Post subject: Re: Center screen is empty when uploading random block Reply with quote

Try downloading the NEWEST ALBUMS BLOCK. See if that one works on your system.

http://www.nukedgallery.net/downloads.html&d_op=getit&lid=20 [nukedgallery.net]
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


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

PostPosted: Sat Aug 16, 2003 8:41 am    Post subject: Reply with quote

create a file called test.php and in it put:
Code: › <?php phpinfo(); ?>

post the result that has the root directory of your site, then delete the file. this will help us diagnose any possible path problems.

if the left side is generated, but nothing else, there should be some sort of error message. does the block say "there is a problem with this block right now" or "there is no content for this block" or anything like that?
you may want to turn on all error messages in your php.ini file if you can't find anything on the page.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dendave

Beginner
Beginner


Joined: Aug 11, 2003
Posts: 8

PostPosted: Sun Aug 17, 2003 6:07 pm    Post subject: Reply with quote

Added the new Albums block on the right side ("All" language)..., but without any result. Right side is not generated. (no new album block or no error).
When I put the block on the right side in Dutch --> Everything is generated except the new album block

When I put the block on the left side in Dutch --> no block, but everything else is loaded
When I put the block on the left side in "All" languages--> only the header is generated
When I put the block at center up in "All" languages --> only the left side and the center screen is visible. Right side isn't generated.
When I put the block at center up in Dutch --> Everything is generated except the new albums block

I've sent the url with the the phpinfo to you personally
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Sun Aug 17, 2003 7:39 pm    Post subject: Reply with quote

hmmm...this is interesting, it might very well have to do with the multilanguage capability. i'm running the latest 1.4.1-cvs-b1 on this site an phpnuke.nukedgallery.net (with only english) with no problems. i'll test out multilanguage over the next couple of days and see if there is a problem with it that needs to be addressed.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dendave

Beginner
Beginner


Joined: Aug 11, 2003
Posts: 8

PostPosted: Mon Aug 18, 2003 5:04 pm    Post subject: Reply with quote

Maybe this additional info can help?

I've renamed the both the "New Albums Block" and the "Random Picture Block"-files to *.pht and now I get an error message: There is a problem right now with this block.
Quiet obvious but maybe it helps analyzing the problem!
(Both blocks are on the right side)

Will it help if I upload 1.4.1-cvs-b1?
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Mon Aug 18, 2003 5:11 pm    Post subject: Reply with quote

they have to be *.php files otherwise apache won't know how to parse the content.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dendave

Beginner
Beginner


Joined: Aug 11, 2003
Posts: 8

PostPosted: Mon Aug 18, 2003 5:23 pm    Post subject: Reply with quote

I know...
But I renamed them on purpose to generate some error and it did.
Now I know that the block is being "processed", but unfortunately not being displayed.

(Meantime files are renamed back to *.php)
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Mon Aug 18, 2003 5:45 pm    Post subject: Reply with quote

The error message being generated is one from NUKE and not one from the server?! Nuke can't process the file so IT produces the error - we need the server to produce the error.

I would suggest installing the latest GALLERY (not ML) and see if it works (just create new folder in MODULES - not gallery, maybe called gallery1)
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dendave

Beginner
Beginner


Joined: Aug 11, 2003
Posts: 8

PostPosted: Tue Aug 19, 2003 7:09 am    Post subject: Reply with quote

Okay, will install it this evening (CET)
Back to top
Offline View user's profile Send private message
dendave

Beginner
Beginner


Joined: Aug 11, 2003
Posts: 8

PostPosted: Tue Aug 19, 2003 8:06 pm    Post subject: Reply with quote

Yes!!!
I've installed Gallery v1.3.4-pl1 and now both the new Albums Block and Random Picture block works (as well on the left side as on the right side)

Is there a way to upload the Dutch language as additional language?
Or do you have another solution?
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 Issues » Blocks View previous topicPrinter friendly versionView next topic
Goto page 1, 2  Next

 
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 HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

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