111
jimbofoxman
Need a couple module suggestions.....

I want to add to our club site an article system that is easy for end users to use. This module has to be something a general day to day user could use. Plus I want them to be able to add images in their articles as well.

I was thinking along these lines;

SmartSection and Myalbum-p.......cause you can integrate myalbum-p into image manager and it has thumbnail capabilities.

What do you think?



112
jimbofoxman
Re: I hate xcgal, can't get it to upload

Anyone group that I give upload privelages gets the ADMIN/USER option, the other groups don't. Just seems odd to me, but maybe I am making it more difficult than it should be.


Anywho, thanks to all for sticking with me on this one.



113
jimbofoxman
Re: I hate xcgal, can't get it to upload

Kinda odd way of doing things, a user mode and admin mode. Seems like they could of made it all one menu and not so confusing (especially for normal site users, let alone admins).

Plus would be nice if you could define directory names for each category, rather than some number.

Oh well, can't have it all. Guess this will have to work for now.



114
jimbofoxman
Re: I hate xcgal, can't get it to upload

Yeah, I did the FTP route on the initial install, but now I am thinking for individuals that want a user album, or images that get uploaded into the 10 public categories already created. New ones won't get sorted, just dumped into A folder with the rest of the images.

Guess that would be something to wish for in a later version. Each category of the gallery can have a directory specified and individual user galleries to actually work.



115
jimbofoxman
Re: I hate xcgal, can't get it to upload

Ok, I actually had my host support group look at my site and this is what they said.

Quote:
We managed to configure the XOOPS gallery module for you. We made the following changes to your Galleries Module Preferences:

Path to ImageMagick/Netpbm 'convert' utility: /usr/local/bin/
The album directory: ../../../gallery/
The directory for user pictures: [empty]

Then tested the upload functionality and managed to upload two test images to the server. The image files and the thumbnails generated from the ImageMagick program were properly saved to the /www/www/gallery/10023 directory on the server.


It did work, but forget using the USER PICTURES option. I set that back up just to see what would happen and it's back to this....

Quote:
Failed to create directory ../../../gallery/../../../usergallery/10001


So, is it a bug is the module that you can't setup both a main gallery directory and a user picture gallery? Unless I am misunderstanding it.

Now, if I leaver user pictures directory EMPTY, it works fine. I can create more public galleries, and my own private galleries. But what I don't like is the fact that everything goes into ONE giant folder so you have no way of sorting out the categories later on if you swith modules or something.

MyAlbum doesn't support user galleries, I don't think. Any other gallery options?



116
jimbofoxman
Re: I hate xcgal, can't get it to upload

Ok, contact my hosting support and got this response.

Quote:
We checked your XOOPS directory. The permissions of the following directories are set to (777):

uploads
templates_c
cache

This is not allowed by our servers configuration and is probably causing the problem. Our servers are running SuExec, which is the most secure environment for a shared hosting server. The scripts are run with the user of their owner (your CP user) and not with the user of the web server (apache). Thus, if a script has to be able to write to a file/directory - world-writable permissions are no longer needed. Actually, such permissions are considered as insecure and files with world-writable permissions will not be executed - the result will be "500 Server Error".

If your installation manual says that you should set world-writable permissions to some files/directories, you need to set permissions 775 or 755 instead - and your script will work properly. It is just not presumed that the server may be running a CGI wrapper (such as Suexec).

You can change the permissions in your Control panel -> File manager. The interface is located at the bottom of the page.

Please, contact us back if the problem persists. We will need the exact steps in order to reproduce the errors on our side, including all user names and passwords required to access your XOOPS application.


In regards to above, I changed both galleries to 775, tried it and then 755 and tried it. Still the original error.

Now that I've read that, I wonder if it relates to the GROUP permissions options in the module setup.

See below

Quote:
Pub. Upl. approval (1) and Priv. Upl. approval (2)


It shows notes for (1) and (2) as follows:

Quote:
(1) Uploads in a public album need admin approval
(2) Uploads in an album that belong to the user need admin approval


Do I want to check those YES or NO. I want certain groups to be able to upload public and private.



117
jimbofoxman
Re: I hate xcgal, can't get it to upload

Quote:

McNaz wrote:
Quote:
I've tried the 777 already.


I've experienced this very recently and it is 100% to do with permissions.

My xcgal worked once I set my usergallery to 777. If you do not have a usergallery directory then the albums directory needs to chmodding to 777 as Apache might not have the priveldges of creating the usergallery for you.


I have both the usergallery and the main gallery, both with CHMOD 777. I even tried changing the chmod to 777 for all my main galleries subdirectories.

Quote:
Quote:
Failed to create directory ../../../gallery/../../../usergallery/10001


I seem to recall that the correct directory is xcgal and not gallery. Is this the case or did you type the above by hand to illustrate your error?


No I changed the xcgal to gallery on my own. I've upload 400+ photos into it many months ago and it displays them ok. Just having problems uploading new photos to either the main galleries or private galleries.



118
jimbofoxman
Re: I hate xcgal, can't get it to upload

I have 2.0.2 (sorry forgot to mention that in original post)

I've tried the 777 already.

I swear I've done everything in the forums, but to no avail.



119
jimbofoxman
I hate xcgal, can't get it to upload

I did some batch uploads many months ago when I set my site. Now I cannot upload any picture to the public galleries or to my private gallery.

I get the famous error...

Failed to create directory ../../../gallery/../../../usergallery/10001 !

If 
the page does not automatically reloadplease click here


And the php debug shows...

function.mkdirNo such file or directory in file modules/xcgal/db_input.php line 113

function.chmodNo such file or directory in file modules/xcgal/db_input.php line 114


BUT......if I uncomment the SILLY_SAFE_MODE in include/init.inc.php then I get only the following

Destination directory ../../../gallery/../../../usergalleryis not writable by the script!!!


I would like to use this rather than MYALBUM as I can determine which groups can do what.

I'm pretty sure I have the permissions set on the directories, 777

I swear I've searched hi and low on these forums and can't resolve it. Very frustrating



120
jimbofoxman
Re: SmartSection - Building an Article

Ok, that was odd. It worked just fine unchecking the linebreak option. Guess I wasn't thinking it would affect the outcome.




TopTop
« 1 ... 9 10 11 (12) 13 14 15 ... 29 »



Login

Who's Online

182 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 182


more...

Donat-O-Meter

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

Latest GitHub Commits