[SOLVED] Gallery 1.4.1 upload doesn't work

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
lucy
Forum Members
Forum Members
Posts: 48
Joined: Tue Jun 29, 2010 9:59 am

[SOLVED] Gallery 1.4.1 upload doesn't work

Post by lucy »

Hi,

I like the Gallery module very much, but even after new installation, no upload is possible nor possible to define new fields  :( .
I also tried different browsers as I read the upload uses flash.
Maybe a similar mistake occurs with the Formbrowser where no mass-deleting is possible.
Does anyone know if I am missing any chmod or any other adjustment?

Klaus

PS.: here is my system-Info:
----------------------------------------------

Cms Version: 1.8.2

Installed Modules:

   * CMSMailer: 2.0
   * FileManager: 1.0.2
   * MenuManager: 1.6.5
   * ModuleManager: 1.4
   * News: 2.10.6
   * nuSOAP: 1.0.2
   * Printing: 1.1.0
   * Search: 1.6.5
   * ThemeManager: 1.1.1
   * TinyMCE: 2.7.2
   * babel: 0.3.4
   * FormBuilder: 0.6.4
   * FormBrowser: 0.3.2
   * Captcha: 0.4.3
   * Gallery: 1.4.1


Config Information:

   * php_memory_limit:
   * process_whole_template: false
   * output_compression: false
   * max_upload_size: 8000000
   * default_upload_permission: 664
   * url_rewriting: none
   * page_extension:
   * query_var: page
   * use_hierarchy: true
   * image_manipulation_prog: GD
   * auto_alias_content: true
   * locale:
   * default_encoding: utf-8
   * admin_encoding: utf-8
   * set_names: true


Php Information:

   * phpversion: 5.2.13
   * md5_function: An (Ja)
   * gd_version: 2
   * tempnam_function: An (Ja)
   * magic_quotes_runtime: Aus (Nein)
   * E_STRICT: 0
   * memory_limit: 50M
   * max_execution_time: 90
   * output_buffering: An
   * safe_mode: Aus (Nein)
   * file_uploads: An (Ja)
   * post_max_size: 8M
   * upload_max_filesize: 8M
   * session_save_path: /tmp (1773)
   * session_use_cookies: An (Ja)
   * xml_function: An (Ja)


Server Information:

   * Server Api: cgi
   * Server Db Type: MySQL (mysql)
   * Server Db Version: 4.1.22


----------------------------------------------
Last edited by lucy on Wed Oct 27, 2010 9:33 pm, edited 1 time in total.
Marijus

Re: Gallery 1.4.1 upload doesn't work

Post by Marijus »

Did you set permission (777) for upload folder?
eurocms
Forum Members
Forum Members
Posts: 30
Joined: Fri May 22, 2009 1:55 pm

Re: Gallery 1.4.1 upload doesn't work

Post by eurocms »

I have the same problem...I've built a site a while ago and was able to upload my photos earlier this summer.  After upgrading to the latest release of CMS the ADD IMAGES icon does not function anymore (it is there I just can't use it).  I've checked the permissions and they are set per the install guide.

The ADD SUB-GALLERY feature works...

Any ideas? Thanks!!!
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

Re: Gallery 1.4.1 upload doesn't work

Post by Jos »

Any error messages? Or errors in debug mode?

Defining custom fields has nothing to do with the upload function. So I'm especially curious if there are any errormessages when you define a field.
lucy
Forum Members
Forum Members
Posts: 48
Joined: Tue Jun 29, 2010 9:59 am

Re: Gallery 1.4.1 upload doesn't work

Post by lucy »

Dear Jos,

no, no errormessages visible. It returns with success but the fields are not visible in the gallery or the pictures then if the field is defined for each picture.
Also with debug mode on, I didn't see anything special, but the amount of messages with debug mode on is a bit overwelming for me.


@eurocms: can you post your installed modules? Maybe this can help...

Klaus
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

Re: Gallery 1.4.1 upload doesn't work

Post by Jos »

Klaus, is it possible to create a temporary admin account for me? I would like to take a look myself with debug mode on.
lucy
Forum Members
Forum Members
Posts: 48
Joined: Tue Jun 29, 2010 9:59 am

Re: Gallery 1.4.1 upload doesn't work

Post by lucy »

yes, certainly. I sent you an email... ;)
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

Re: Gallery 1.4.1 upload doesn't work

Post by Jos »

thx..  I succeeded in defining extra fields, so I can not reproduce your failure on that issue.

The upload issue is a bit more complicated. There should be a transparent flash button above the "Bilder hinzufügen" link. But in your site that flash button is not there. So far I didn't find out why it is not there... I have to do some more research on that
lucy
Forum Members
Forum Members
Posts: 48
Joined: Tue Jun 29, 2010 9:59 am

Re: Gallery 1.4.1 upload doesn't work

Post by lucy »

hm, defining fields works. But I just see the gallery-applied field. Do I have a complete missunderstanding or shouldn't the new field for each pic appear in the admin of that image, like the komment or title?
eurocms
Forum Members
Forum Members
Posts: 30
Joined: Fri May 22, 2009 1:55 pm

Re: Gallery 1.4.1 upload doesn't work

Post by eurocms »

Here is my config:

As mentioned before, I think it has something to do with the 1.8.2. update as everything worked just fine before the the most recent move from 1.7.x to 1.8.2

CMS Version
1.8.2

Installed ModulesCMSMailer
2.0
FileManager
1.0.2
MenuManager
1.6.5
ModuleManager
1.4
News
2.10.6
nuSOAP
1.0.2
Printing
1.1.0
Search
1.6.5
ThemeManager
1.1.1
TinyMCE
2.7.2
AdvancedContent
0.6
Gallery
1.4.1
FormBuilder
0.6.4

Config Information php_memory_limit:

process_whole_template:
false
output_compression:
false
max_upload_size:
20000000
default_upload_permission:
664
url_rewriting:
none
page_extension:

query_var:
page
use_hierarchy:
true
image_manipulation_prog:
GD
auto_alias_content:
true
locale:

default_encoding:
utf-8
admin_encoding:
utf-8
set_names:
true
debug:
false

Current PHP Version (phpversion):
5.2.14
md5 function (md5_function):
On (True)
GD version (gd_version):
2
tempnam function (tempnam_function):
On (True)
Magic quotes in runtime (magic_quotes_runtime):
Off (False)
Is E_STRICT disabled in error_reporting (E_STRICT):

PHP Effective Memory Limit (memory_limit):
32M
Maximum Execution Time (max_execution_time):
30
PHP output_buffering (output_buffering):
On
PHP Safe Mode (safe_mode):
Off (False)
File uploads (file_uploads):
On (True)
Maximum Post Size (post_max_size):
8M
Maximum Upload Size (upload_max_filesize):
20M
Session Save Path (session_save_path):
/tmp (1777)
Sessions are allowed to use Cookies (session_use_cookies):
On (True)
Basic XML (expat) support (xml_function):
On (True)
Checking if the httpd process can create a file inside of a directory it created (create_dir_and_file):

PHP register_globals (register_globals):
Off (False)
disable_functions in PHP (disable_functions):

PHP Open Basedir (open_basedir):

Test for remote URL (test_remote_url):

fsockopen: Connection ok!
fopen: Connection ok!
Test ini_set (check_ini_set):
On (True)
uniqu3

Re: Gallery 1.4.1 upload doesn't work

Post by uniqu3 »

lucy wrote: hm, defining fields works. But I just see the gallery-applied field. Do I have a complete missunderstanding or shouldn't the new field for each pic appear in the admin of that image, like the komment or title?
@lucy if i am not wrong, custom fields are visible if you press edit button of the image not in the listing table.
lucy
Forum Members
Forum Members
Posts: 48
Joined: Tue Jun 29, 2010 9:59 am

Re: Gallery 1.4.1 upload doesn't work

Post by lucy »

hey uniqu3...thx. Yes youre right, of course. Wasn't aware of this.  ??? Oh what a shame. A whole new world...
Last edited by lucy on Wed Oct 27, 2010 1:04 pm, edited 1 time in total.
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

Re: Gallery 1.4.1 upload doesn't work

Post by Jos »

Yeah... I found it!!  :D ;D

You changed the setting "Before upload, resize big images to these maximum sizes:"
The height didn't have a value, which caused the script to stop.

Now I entered a value and the "invisible" flash upload button is there again  8)

Eurocms: can you check that setting too?
eurocms
Forum Members
Forum Members
Posts: 30
Joined: Fri May 22, 2009 1:55 pm

Re: Gallery 1.4.1 upload doesn't work

Post by eurocms »

I tried editing the site with Chrome Google browser, and it works. ( To bad Chrome does not fully supported all the TinyMCE features, as it is a very fast browser)

So, there is something within IE9...I will check on a PC with IE8.
Looks like I'm all set. Thanks!
Jos wrote: Yeah... I found it!!  :D ;D

You changed the setting "Before upload, resize big images to these maximum sizes:"
The height didn't have a value, which caused the script to stop.

Now I entered a value and the "invisible" flash upload button is there again  8)

Eurocms: can you check that setting too?
lucy
Forum Members
Forum Members
Posts: 48
Joined: Tue Jun 29, 2010 9:59 am

Re: Gallery 1.4.1 upload doesn't work

Post by lucy »

Hey, great!

Yes, thats right. Along the line, I wanted to just limit the width of the pics; I didn't expect this to happen.

But I wonder, why you keep saying
the "invisible" flash upload button is there again
.

Because the button next to "Bilder hinzufügen" was visible all the time for me and "Bilder hinzufügen is clickable anyway even if the button is missing...just clicking didn't start anything...

But thanks very much! Good job!
Post Reply

Return to “Modules/Add-Ons”