| Author |
Message |
GJSchaller
User


Joined: Aug 04, 2004 Posts: 37 Location: Valhalla, NY, USA
|
Posted: Thu Dec 30, 2004 11:14 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
Still getting the error. When I access the gallery directly:
http://www.knightrealms.com/modules/Gallery/
It works fine, though, so it's something to do with Nuke. |
|
| Back to top |
|
|
AdBot
|
| Post subject: Re: [RELEASE] Random Photo V2 |
|
|
|
|
|
| Back to top |
|
 |
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Thu Dec 30, 2004 11:15 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
| The reason for trying a diff theme is to only determine if the theme is at fault. You can easily upload a 'standard' nuke theme and only change YOUR prefences to use the temp theme. |
|
| Back to top |
|
|
GJSchaller
User


Joined: Aug 04, 2004 Posts: 37 Location: Valhalla, NY, USA
|
Posted: Thu Dec 30, 2004 11:32 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
Same thing with the Nuke News theme.  |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Thu Dec 30, 2004 11:52 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
Hmn - have you done any amends to any of NUKES core files? (modules.php, mainfile.php, etc). The problem must be with your Nuke install!  |
|
| Back to top |
|
|
GJSchaller
User


Joined: Aug 04, 2004 Posts: 37 Location: Valhalla, NY, USA
|
Posted: Thu Dec 30, 2004 12:02 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
| Possibly, for the Sentinel - although it was working previously (I installed it and let the files sit for a while inactive), all I did was enable the security options. I'll turn them off one at a time, see if one of them does it. |
|
| Back to top |
|
|
GJSchaller
User


Joined: Aug 04, 2004 Posts: 37 Location: Valhalla, NY, USA
|
Posted: Thu Dec 30, 2004 12:09 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
That's not it either - I disabled all the Security in NukeSentinel, and still no luck. Erg.
Let me go fishing thru what changes I made to see if one of them did it - can someone help me narrow down what would affect this / what files to look at, that would affect this linking? |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Thu Dec 30, 2004 12:24 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
Have a look in your webspace error.log (if you have access).
I would try these first:
header.php
footer.php
modules.php
mainfile.php
Also try your .htaccess (if there is one)
Maybe an easier option might be to install a fresh copy of NUKE in to a seperate folder (yoursite/test/) using same version as existing site and use existing DB (all depends on what changes you have done) - to test if it is in fact a problem with your NUKE install and not a server problem. |
|
| Back to top |
|
|
GJSchaller
User


Joined: Aug 04, 2004 Posts: 37 Location: Valhalla, NY, USA
|
Posted: Thu Dec 30, 2004 8:00 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
No dice. I took out all the security changes in each of those files, and removed .htaccess from any folders above Gallery or Albums, and it did not resolve the error.
A few things I did notice:
My PHPinfo: http://www.knightrealms.com/phpinfo.html
(I saved it as a HTML from the Gallery Diags)
I'm using Gallery 1.4.4-pl4. I've done a complete upload / overwrite, and re-run the Config Wizard.
The error affects both the Block and individual photos in the Gallery, but not sub-albums. It does not affect the gallery when viewed in stand-alone mode.
I noticed that when you get the error, one of the numbers changes:
Quote: › Error: Requested index [0] out of bounds [XXX]
Fatal error: Call to a member function on a non-object in /home/kradmin/public_html/modules/Gallery/classes/Album.php on line 1258
The [XXX] changes according to the album it is in, but is consistent for all the photos in an the same album. |
|
| Back to top |
|
|
GJSchaller
User


Joined: Aug 04, 2004 Posts: 37 Location: Valhalla, NY, USA
|
Posted: Fri Dec 31, 2004 1:14 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
OK, I uploaded a seperate version of Nuke, and Gallery, pointed at the same albums - and it works. This means it's most definately my Nuke setup, and not PHP & ZEND - Argh!
Time to slog thru the files, one at a time... |
|
| Back to top |
|
|
kuebel
Beginner


Joined: Oct 26, 2004 Posts: 3
|
Posted: Sat Jan 01, 2005 12:01 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
hi,
i've got the same problems since i installed nuke sentinel. when i disable the sentinel by delete the sentinel lines from mainfile.php my gallery works fine... |
|
| Back to top |
|
|
GJSchaller
User


Joined: Aug 04, 2004 Posts: 37 Location: Valhalla, NY, USA
|
Posted: Sat Jan 01, 2005 5:26 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
| I did replace my minafile.php - it fixed the issue. I'm going to try re-editing the files carefully to see if I can figure out what caused it. |
|
| Back to top |
|
|
GJSchaller
User


Joined: Aug 04, 2004 Posts: 37 Location: Valhalla, NY, USA
|
Posted: Sun Jan 02, 2005 11:02 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
| Yeah, that's it, I somehow missed it on my first run. I'll start a new thread since this isn't only the block, it's all of Gallery. |
|
| Back to top |
|
|
alx
Beginner


Joined: Jan 08, 2005 Posts: 6
|
Posted: Mon Jan 17, 2005 8:05 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
c4m_t wrote: › Hi there, i'm getting this error when running your code:
Fatal error: Call to undefined function: fs_file_exists() in /home/camtindall/www/www/blocks/NG-RandomPhoto_functions.php on line 192
On line 192 is
Code: › if (fs_file_exists(CACHE_FILE)) {
Using PHP Nuke 7.4 Gallery v1.4.4-pl2
Any help please?
edit: problem solved now 
How do you solved it? i have the same problem.
Thank's! |
|
| Back to top |
|
|
PendragonIV
Beginner


Joined: Jan 15, 2005 Posts: 6
|
Posted: Sat Jan 22, 2005 5:02 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
| VAlarie asked this earlier Quote: › Wow! I love it! Works great. How hard would it be to make it scroll horizontally as a center block? I tried for a while but I couldn't figure out how to prevent the block from being as tall as the number of images I specified. In any event, thanks for such a great block. I have same question. I love the block but would like horizontal scrolling if possible. Any suggestions? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6318 Location: Washington Township, NJ, USA
|
Posted: Tue Feb 01, 2005 3:48 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
i'm not too sure if horozontal scrolling is possible.
<checks at http://www.blooberry.com/indexdot/html/ ... arquee.htm >
Hmm...looks like it might be. try tweaking the code to use a horozontally scrolling marquee instead of a vertically scrolling one. |
|
| Back to top |
|
|
|
|
|
|
|