PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Installs and Upgrade - vBulletin 3.5.X (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-5-x/)
-   -   Categories won't shop up (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-5-x/121467-categories-wont-shop-up.html)

Kurisu December 11th, 2005 07:16 AM

Categories won't shop up
 
The categories I created won't show up. All permissions are correct and the categories exist but I just get an empty index.php page without any categories.

Andy ideas? :confused:

I use PHP 5.0.5 and MySQL 4.1.14

Chuck S December 11th, 2005 08:02 AM

You have a link here?

Kurisu December 11th, 2005 08:13 AM

Yes: http://forum.anivision.de/gallery/

Chuck S December 11th, 2005 08:23 AM

Kategorien: 0, Bilder: 0, Beiträge: 0, Alle Betrachtungen: 0, Belegter Speicherplatz: 0 Bytes

It says you have 0 categories. Have you created any?

Zachariah December 11th, 2005 08:24 AM

I do not know about PHP 5.0.5 as a factor.

I do know that another member had the same problems.
weirdpixels

http://www.photopost.com/forum/installs-upgrade-vbulletin-3-5-x/121381-error-after-upgrade-vbulletin-3-5-2-a.html

I would download the script package of the gallery here @ Photopost and update your site if you have not already done so.

Kurisu December 11th, 2005 08:24 AM

Sure, that's why im wondering that those categories aren't listed on the page.

Chuck S December 11th, 2005 08:26 AM

Could be although I would assume if there was an error with PHP I hope something would be shown ;)

Chuck S December 11th, 2005 08:38 AM

Here is what I would suggest.

1. Download the build from Photopost members area and replace all files and see if this corrects your issue.

if not.

2. In index.php in your gallery directory edit the file and add the line in bold as arrays must be initialized

Code:

Content visible to verified customers only.

Kurisu December 11th, 2005 09:54 AM

I already did what you suggestet before I started the thread and it "only" eliminated an error message :/

Chuck S December 11th, 2005 09:58 AM

What do you mean you did my suggestion before starting the thread? Thats a bit confusing since you started the thread at 8:16 and my suggestion was posted at 9:38

What error does it get rid of?

Kurisu December 11th, 2005 10:12 AM

I mean I found your suggestions in another thread, applied them and then posted here because the categories still didn't show up.


I got rid of this error:

Warning: array_keys(): The first argument should be an array in /includes/functions_gallery.php on line 430

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 430

Chuck S December 11th, 2005 10:19 AM

I would suggest you remove that modification as that other thread was talking about a hack someone had installed.

Let's work with default vbgallery files here.

Kurisu December 11th, 2005 10:23 AM

I don't have a modification for the gallery installed and I am using the current version of photopost vbadvanced gallery

Chuck S December 11th, 2005 11:04 AM

Right but the error you meantioned in that thread and file is when viewing the vbulletin members.php file if I remember the correct thread.

Please reupload clean vBGallery files and then lets take a look at your install and see where we are

Kurisu December 11th, 2005 11:12 AM

I got the error mentioned in the other thread on the index.php

I already uploaded clean files but as I said, no effect.

Chuck S December 11th, 2005 11:17 AM

This is none edited files right now? I see no error this is why I ask.

http://forum.anivision.de/gallery/

Now try the edit in index.php meantioned above

Kurisu December 11th, 2005 11:47 AM

Yes, I only applied your suggested changes.

I added
Code:

Content visible to verified customers only.
in index.php but again, no effect.

Furthermore I get the error message that I don't have permission to upload images (the permissions are correct). Could be that this error is related to the missing categories but Im not sure.

And another thing, although I set up a category to act as a member's category and set the permissions accordingly, the list from which to select the parent category is emtpy.

Chuck S December 11th, 2005 12:09 PM

what line number and file do you get an error if you do not add the line I stated?

I just installed php 5.03 which is the version I can install on my VPS server and vBGallery seems to work fine.

I would need you to PM me your admin login so I can check out how things are setup. Make sure you have the latest default unmodified gallery files upload from our distribution.

Kurisu December 12th, 2005 04:45 PM

I just uploaded the original files WITHOUT any modifications you mentioned - and it worked. God knows why...

I only get an error now if I want to use the batch-upload function (no errors with the single-file upload):
Warnung: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions_gallery_imageedit.php (Zeile 350)

Chuck S December 12th, 2005 05:16 PM

HMM how about try this on line 310 find this

$imginfo['truename'] = $filename;

above it add this

$imageinfo = array();
$imginfo =array();


All times are GMT -5. The time now is 11:04 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97