CMS MADE SIMPLE FORGE

Gallery

 

[#8844] Error #2032 and time out in script in frontend

avatar
Created By: Marloes G (MarloesG)
Date Submitted: Sat Jan 19 07:00:27 -0500 2013

Assigned To: Jos (josvd)
Version: None
CMSMS Version: None
Severity: Minor
Resolution: Fixed
State: Closed
Summary:
Error #2032 and time out in script in frontend
Detailed Description:
Since I've uploaded the cms to a testserver the gallery does not work anymore.
Uploading files  gives an alert: Error #2032

I've done a search in all files of cmsms and didn't get any results for this
string.

Image upload in the file manager does work fine and upload path rights are set
to 0777. The new folder for a new gallery is created but the image is not there.




The gallery that I already created on my localhost causes the frontpage to
timeout and stop executing.
here is the page where I added that gallery:
http://inmotiondesign.nl/test/joost-naaktgeboren/projecten/2/33/bredeschool-woerdblok/

Error in admin logs: ERROR DETECTED: Maximum execution time of 30 seconds
exceeded at /var/www/vhosts/..../lib/misc.functions.php:2273

I've already tried to increase the max_execution_time (= now set to 60 sec), but
still the script stops  in 30 seconds. memory_limit = 48M

The projects page is not a normal page type, but a news item. 
Locally everything works fine and if  I place the same gallery on a page it also
works fine
http://inmotiondesign.nl/test/joost-naaktgeboren/bedrijfsinformatie/profiel/#ad-image-0


Don't think the 2 problems have the same cause. I hope you can help me.


History

Comments
avatar
Date: 2013-01-20 14:17
Posted By: Marloes G (MarloesG)

I've uploaded the website to another server, to test what happens there. 
The upload problem doesn't occur here.


The frontend issues are the same as discribed in my original discription.
The gallery works fine on pages, but it times out on newspages.

I've tried to switch off pretty urls but that didn't change anything.
      
avatar
Date: 2013-01-27 08:01
Posted By: Marloes G (MarloesG)

As for the timeout problem: it seems to be an general problem with the news
module. If I try another module it does the same thing. I've implemented a
workaround by setting a custom field in which the user types the gallery name
and in the template I'll place that name in the gallery tag. This works fine.


The  Error #2032 problem however still exists. As far as I can find in google it
is an flash error that has to do with resizing. It is an server related problem
(settings?) because I got it working on another server... But not on this one.
So please do you know if there are settings I have to change to get it to work?
The gallery is not of much use without images isn't it?
      
avatar
Date: 2013-02-20 06:21
Posted By: Richard Paul (rickpri)

I also had this issue reported to me today.

This came up after moving this website recently, however, fortunately enough I
still had the old server running so I could compare the two servers by using
dpkg --get-selections on my debian based server.

I installed php5-gd and php5-mcrypt as they weren't present on the server but
that didn't help.  I then added javascript-common which also added
wwwconfig-common and I also added libatm1.  After a quick sudo apachectl
graceful this started to work.  So I'm guessing that it's one of those last
three packages that are required.
      
avatar
Date: 2013-02-20 06:25
Posted By: Richard Paul (rickpri)

Sorry, to elaborate, my fix was purely for the upload #2032 error with the
Gallery module
      
avatar
Date: 2013-02-25 09:22
Posted By: Sergei Illarionov (butteff)

I have got the same problem
      
avatar
Date: 2013-02-25 09:44
Posted By: Sergei Illarionov (butteff)

>I installed php5-gd and php5-mcrypt as they weren't present on the server but
>that didn't help.  I then added javascript-common which also added
>wwwconfig-common and I also added libatm1.  After a quick sudo apachectl
>graceful this started to work.  So I'm guessing that it's one of those last
>three packages that are required.

this help me in ubuntu 12.10
      
avatar
Date: 2013-02-25 09:44
Posted By: Sergei Illarionov (butteff)

Richard Paul, thnx a lot
      
avatar
Date: 2013-02-25 10:19
Posted By: Jos (josvd)

for the issue with news, try {cms_module module='Gallery' dir=''} in stead of
{Gallery}
      
avatar
Date: 2013-03-18 08:10
Posted By: Wayne Starick (biggles)

I too am now getting this error, even though I haven't in the past. I can get
around it by creating the name of the gallery in the Gallery module, then
uploading the images using the file manager - a bit of a 'kludge' but it does
work.

Something has changed somewhere!
      
avatar
Date: 2014-07-03 19:25
Posted By: Jos (josvd)

SFWUpload is dropped and replaced with Plupload, so this should be fixed in
version 2.0
      
Updates

Updated: 2014-07-03 19:25
resolution_id: 5 => 7
cmsms_version_id: 29778 => -1
state: Open => Closed

Updated: 2013-01-19 07:09
description: Since I've uploaded the cms to a testserver the gallery does not work anymore. Uploading files gives an alert: Error #2032 I've done a search in all files of cmsms and didn't get any results for this string. Image upload in the file manager does wo => Since I've uploaded the cms to a testserver the gallery does not work anymore. Uploading files gives an alert: Error #2032 I've done a search in all files of cmsms and didn't get any results for this string. Image upload in the file manager does wo
resolution_id: => 5