so, upgraded zikula now when i try to upload files into SG i either just get "Upload Failed:1" or i get "File type not supported: application/octet-stream
Upload failed" well i have even checked the headers for the image they are not application/octet-stream. im not really sure if this is a SG problem or a FileUtil problem or just my install gone haywire, i have tried re-loading the module getting all the files again from the extdb, no dice.
before you ask, yes i have checked all the perms even gone so far as to 777 them to be sure they are writeable.
has anyone else experienced this? ive been banging my head off the wall for a couple hours now poking around in the code and cant really find anything wrong.
- mercromina responded to »error when i try to upgrade to the last version of dizkus module (3.1)« 08:01 PM
- craigh responded to »TagIt 3.0 for Zikula« 03:58 PM
- localrags responded to »Remove contents of nuke_sc_anticracker from Database« 11:30 AM
- jmvaughn responded to »Shoutit for zikula 1.3?« 09:31 AM
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Problems with simplegallery after upgrade!
-
- Rank: Softmore
- Registered: Sep 30, 2008
- Last visit: May 29, 2010
- Posts: 201
-
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6840
It's not your install, I'm having the same problem, I was going to submit a ticket, but haven't gotten to it yet.
--
Home Page | Find on Facebook | Follow on Twitter
-
- Rank: Developer
- Registered: Jun 16, 2003
- Posts: 1915
try a different theme? (wondering if the theme headers might be an issue? but I'm stoo-pid about this stuff.) -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6840
-
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
I'm having the same issues with SG and 1.2.3.
I get the "Upload failed: 1" error message when trying to add an image as well. The image does not add to the gallery but it does in fact upload to the server.
Does SG work for anyone in 1.2.*?
--
[ stevencopley.com ] -
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
I opened a ticket. Hopefully Giacomo will take a look. :)
http://code.zikula.org/simplegallery/ticket/21
--
[ stevencopley.com ] -
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
I contacted James (Giacomo) on his website too!
http://www.giacomogatelli.it/index.html
Wow, I have 1000 posts! I should get a cookie or something.
--
[ stevencopley.com ] -
- Rank: Developer
- Registered: Mar 29, 2005
- Last visit: Mar 13, 2010
- Posts: 228
Sorry guys, I didn't notice this thread
Steven, thanks for the ticket and the email!
For a quick fix replace:
Code
with
Code
on line 378 and 422 of modules/SimpleGallery/classes/Image.class.php
This should fix it! Let me know if you have other problems
I'll try to release a new version (with gettext and this fix) this weekend.
Giacomo
--
Zikula Italia
SimpleGallery -
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
-
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
I just wanted to confirm that fix did work!
Thanks a lot for such a simple and awesome module!
--
[ stevencopley.com ] -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6840
jaenosjelantru
Wow, I have 1000 posts! I should get a cookie or something.
I haven't gotten one yet and I have 6x the posts :P
--
Home Page | Find on Facebook | Follow on Twitter
-
- Rank: Registered User
- Registered: Jan 05, 2009
- Last visit: Jan 06, 2009
- Posts: 4
Hi,
Sorry for my English
I have ZK 1.2.3 and SG 1.2. When I click on "Add New Image" does not happen no action. Do not show up any confusion. Any ideas?
Arthens solution does not work for me. -
- Rank: Registered User
- Registered: Jan 05, 2009
- Last visit: Jan 06, 2009
- Posts: 4
-
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
Did you check to ensure the directory is writable? Did you see if the files are actually going to the server, just not being added to the DB? Did you ensure that Arthens solution was implemented correctly? It solved my issues.
--
[ stevencopley.com ] -
- Rank: Registered User
- Registered: Jan 05, 2009
- Last visit: Jan 06, 2009
- Posts: 4
Yes, the directories are writable. Yes, the files are actually. Yes, Arthens solution was implemented correctly.
Photos do not add to the database. I do not have any communication at the same time.
- Moderated by:
- Support
