PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old December 9th, 2004, 11:21 PM   #1 (permalink)
Member
 
Join Date: Jun 2004
Posts: 164
[RC1] "Scan database" gives PHP error

When clicking maintenance, scan database in ACP I get the following error:

Quote:
Warning: array_diff(): Argument #2 is not an array in /var/www/web10/html/vbb/admincp/vba_gallery_admin.php on line 1548
This happens when there are no images, as $filenamecache will be empty then.

Nothing big, but should be initialized somewhere
Kirby is offline  
Old December 9th, 2004, 11:31 PM   #2 (permalink)
Brian
Guest
 
Posts: n/a
Re: [RC1] "Scan database" gives PHP error

Strange that I've never seen it give an error like that. $filenamecache should be set as an array before everything anyways though, so for anyone experiencing a problem you can look in your vba_gallery_admin.php file for this:
Code:
Content visible to verified customers only.
And add this right above it:
Code:
Content visible to verified customers only.
 
Old December 11th, 2004, 08:54 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2004
Posts: 16
Re: [RC1] "Scan database" gives PHP error

I was just about to add that error, im glad to find a fix before even posting the error!
Simplicity is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
User permission set to "YES" - but database field shows "0" skippy Classifieds Bug Reports 3 November 11th, 2005 02:45 PM
Use "forums" database or "photopost" database thephonemall Photopost Pro Installation & Upgrades 1 August 11th, 2005 02:18 PM
"Scan Database" tool reports "file not found" - ALL files PageUp Installs and Upgrade - vBulletin 3.0.X 4 June 15th, 2005 10:09 AM
[RC1] Private Thumbs Show in "all members pics" view phlogiston Bugs From 1.0.0 5 December 10th, 2004 12:59 AM


All times are GMT -5. The time now is 06:57 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0