 | |  | |
December 18th, 2007, 10:27 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2007
Posts: 12
| vB_Datastore_XCache
Hi,
Im getting error after 2.41 upgrading like this,
"Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 1067"
How can I fix this?
regards,
|
| |
December 18th, 2007, 11:08 AM
|
#2 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
This deals w/ moderators.
- Is this error on every page ?
- only on pages with a category moderator ?
|
| |
December 18th, 2007, 12:24 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2007
Posts: 12
|
only in vbgallery homepage, the other pages is normal..
|
| |
December 23rd, 2007, 03:23 AM
|
#4 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2007
Posts: 12
|
also have this error on vbgallery 2.41 with un registered users
/home/eugene/public_html/galeri/gallery_global.php on line 352
|
| |
December 23rd, 2007, 05:39 AM
|
#5 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
Perhaps there is a problems w/ guest permission.
- I have not ran into it my self.
Do you have custom permissions to guests on the gallery ?
- If so, what ?
|
| |
December 23rd, 2007, 07:37 AM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2007
Posts: 12
|
No, Im using standart "usergroup permission"
by the way a lot of my error messy in same page now
Warning: Invalid argument supplied for foreach() in /home/eugene/public_html/galeri/gallery_global.php on line 352
Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 1067
Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 1067
Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 1067
Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 1067
Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 1067
Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 1067
|
| |
December 23rd, 2007, 07:23 PM
|
#7 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
1st try and upload all the files in the package and replace the old files.
Do you have any older gallery templates that may have custom changes?
If so revert.
What was the old gallery version before update ?
|
| |
December 24th, 2007, 04:22 AM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2007
Posts: 12
|
Hi Zachariah,
Unfortunatelt, nothing changes  I have upgrade from version 2.3
|
| |
December 24th, 2007, 07:03 AM
|
#9 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
PM me some ftp and AdminCP access I'll take a look.
|
| |
December 24th, 2007, 07:25 AM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2007
Posts: 12
|
please check it out PM box
|
| |
December 24th, 2007, 08:07 AM
|
#11 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
XCache is cause. I'll have to do some testing and find out the fix.
Quick Fix:
In your forums/includes/config.php
I added a if statement to disable when on the gallery pages. Code: Content visible to verified customers only.
- if you want to experiment around on your own you can limit to only the front page of the gallery. Code: Content visible to verified customers only.
Moving this thread to Bugs area.
|
| |
December 24th, 2007, 08:10 AM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2007
Posts: 12
|
Ok, I understood. thanks for all.. vbgallery rulaz!!! |
| |
January 9th, 2008, 10:10 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 78
|
I am not using xcache for the datastore, but for the opcodes. Is this why I am not having this problem? (php 5.1.6, xcache & 2.4.2)
|
| |
January 9th, 2008, 10:15 PM
|
#14 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
| Quote:
Originally Posted by bulbasnore I am not using xcache for the datastore, but for the opcodes. Is this why I am not having this problem? (php 5.1.6, xcache & 2.4.2) | What is your configuration setting and it sill run ?
|
| |
January 10th, 2008, 04:36 AM
|
#15 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2007
Posts: 19
|
I'm having this exact same problem with the xcache datastore. I disabled it only for the gallery.
|
| |
January 10th, 2008, 06:58 PM
|
#16 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2007
Posts: 19
|
The following code worked for the gallery -- thank you. (edited in config.php) Quote:
if (PP_SCRIPT != 'vBGallery'){
$config['Datastore']['class'] = 'vB_Datastore_XCache';
}
|
However, users are experiencing a similar error with the "Geek Gallery Popup" insertion window. Quote:
Warning: Invalid argument supplied for foreach() in zzremovedzz/gallery_global.php on line 356
Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 1048
| (geek gallery popup was working fine with security patched 2.3) http://www.vbulletin.org/forum/showthread.php?t=99011
Thanks!
|
| |
January 10th, 2008, 07:27 PM
|
#17 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2007
Posts: 19
|
I got the geek gallery popup problem fixed by modifying config.php to this Quote:
if ((PP_SCRIPT != 'vBGallery') && (THIS_SCRIPT != 'Geek-Gallery')){
$config['Datastore']['class'] = 'vB_Datastore_XCache';
}
|
Last edited by info5538; January 10th, 2008 at 09:08 PM.
|
| |
January 10th, 2008, 07:56 PM
|
#18 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2007
Posts: 19
|
---delete me---
Last edited by info5538; January 10th, 2008 at 09:08 PM.
|
| |
April 18th, 2008, 09:40 AM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 54
|
The following code worked for the gallery. Quote:
if (PP_SCRIPT != 'vBGallery'){
$config['Datastore']['class'] = 'vB_Datastore_XCache';
}
| Could this problem be resolved in the next release?
|
| |
May 9th, 2008, 07:51 AM
|
#20 (permalink)
| | Guest |
thanks that works for memcached as well folks. Code: Content visible to verified customers only.
If this problem is with both memcached AND xcache I would like to belive the fix will have to be on PP's side as all of vb forums and other php add-ons etc works without having to exclude.
| |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 12:10 AM. | |