1
Northern
ERROR: requested index [-1] out of bounds [1]
  • 2005/1/14 5:07

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


Each time a member enters the Index.php page the receave this message on a white page.

ERROR: requested index [-1] out of bounds [1]

or this

ERROR: requested index [-1] out of bounds [2]

the XOOPS site this is happening to come online on jan.01 2005. there are 90 members on it and that number is growing each day.

if posible can someone point me in the right place to fix this?


with the site turned off the only thing in debugmode is in the sql.

Queries 
SELECT 
FROM xoops_config WHERE (conf_modid AND conf_catid 1ORDER BY conf_order ASC 
SELECT sess_data FROM xoops_session WHERE sess_id 
'966d556aca5135c4c7316196b2cedd30' 
SELECT FROM xoops_users WHERE uid=
SELECT 
FROM xoops_modules WHERE dirname 'system' 
SELECT FROM xoops_configcategory 
SELECT 
FROM xoops_group_permission WHERE (gperm_name 'module_admin' AND gperm_modid AND (gperm_groupid 1)) 
Total6 queries


any help would be great.

thanks

2
Northern
Re: ERROR: requested index [-1] out of bounds [1]
  • 2005/1/14 5:33

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


useing the php debug, i found this.
ERRORrequested index [-1out of bounds [1]Notice [PHP]: Use of undefined constant no assumed 'no' in file modules/xoopsgallery/config.php line 59

3
Northern
Re: ERROR: requested index [-1] out of bounds [1]
  • 2005/1/14 6:47

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


problem corrected.


after reading many posted and link after link. found it to be a problem in the xoopsgallery.

after many, many atempts to fix the isue it came down to be
changing Skip User Permission Checks on Blocks to yes.

Bypass checking of the user's permission when selecting images for display in the blocks. Setting this to 'Yes' will have the effect of allowing someone to see the thumbnail for an image, then getting permission denied when they click it. If you allow all users to see all photos in your albums, then setting this to 'yes' can increase performance

i even went as far as

backup the cache folder
deactivate and uninstall module
reinstall module
restore cache folder and doublecheck the lockfile permissions

and that didnt help.

so i guess this turned out to be a how to instead of a plea for help.
lol

thanks.
Marc

4
tgotch
Re: ERROR: requested index [-1] out of bounds [1]
  • 2005/2/11 2:54

  • tgotch

  • Just popping in

  • Posts: 66

  • Since: 2005/1/31


after many, many atempts to fix the isue it came down to be changing Skip User Permission Checks on Blocks to yes

Not to be dense, but where do you find this option?

Login

Who's Online

277 user(s) are online (225 user(s) are browsing Support Forums)


Members: 0


Guests: 277


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits