• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: [SOLVED]Problems with FEU Imageuploads into Gallery
PostPosted: Sun Mar 22, 2015 12:22 am 
Offline
Forum Members
Forum Members

Joined: Tue Jan 03, 2012 10:24 pm
Posts: 20
I hope someone can help me because I have tried to find a solution for the problem since 2 nights.

I have to realize an image upload in the gallery for FEU. I found the step by step description hier viewtopic.php?f=4&p=252006#p252006

now I have 2 problems:

1. the FEU is able to upload an image into the gallery, but I can't configure a redirection page. After the succsessful upload the use always get the same page without an uploadfield, but the layout of the page is corrupt. Page source started with body tag (without all the hade stuff).

So the question is: How can I configure a special redirection page???


2. I have on my serverside site a special behavior, what I haven't on my localost.
The user also can upload succsessful an image and after the upload the user get the bad layout.
Additional he get an error message

Fatal error: Call to a member function _AddFileToDB() on a non-object in /www/htdocs/ ..... /WEB/lib/classes/class.usertagoperations.inc.php(265) : eval()'d code on line 4


Both have the same sources.

Could anybody help?



Infos von localhost
----------------------------------------------
Cms Version: 1.11.11
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.5
MenuManager: 1.8.6
MicroTiny: 1.2.7
ModuleManager: 1.5.8
News: 2.14.4
Search: 1.7.11
ThemeManager: 1.1.8
TemplateExternalizer: 2.1.3
FormBuilder: 0.8.1.1
Captcha: 0.4.6
Guestbook: 1.4_RC2
CGExtensions: 1.42.2
FrontEndUsers: 1.24.1
JM_Forum: 1.0.0
Statistics: 1.1.3
OwnersManual: 1.0.3
MysqlDump: 1.3.1
SelfRegistration: 1.8.2
Gallery: 2.0.1
CustomContent: 1.10
CGSimpleSmarty: 1.7.4
Uploads: 1.18.4
FormBrowser: 0.4.2

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 2000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: de_DE.UTF8
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.5.9-1ubuntu4.6
md5_function: An (Ja)
gd_version: 2
tempnam_function: An (Ja)
magic_quotes_runtime: Aus (Nein)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
safe_mode: Aus (Nein)
file_uploads: An (Ja)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /var/lib/php5 (1733)
session_use_cookies: An (Ja)
xml_function: An (Ja)
xmlreader_class: An (Ja)

Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.41
Server Db Grants: Gefunden eine "Alles gewähren"-Anweisung, die als geeignet scheint
Server Time Diff: Keine Abweichung der Zeit im Dateisystem gefunden

----------------------------------------------


Infos vom SERVER
----------------------------------------------
Cms Version: 1.11.11
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.5
MenuManager: 1.8.6
MicroTiny: 1.2.7
ModuleManager: 1.5.8
News: 2.14.4
Search: 1.7.11
ThemeManager: 1.1.8
TemplateExternalizer: 2.1.3
FormBuilder: 0.7.3
Captcha: 0.4.6
Guestbook: 1.4_RC2
CGExtensions: 1.42.2
FrontEndUsers: 1.24.1
JM_Forum: 1.0.0
Statistics: 1.1.3
OwnersManual: 1.0.3
MysqlDump: 1.3.1
SelfRegistration: 1.8.2
Gallery: 2.0.1
CustomContent: 1.10
CGSimpleSmarty: 1.7.4
Uploads: 1.18.4
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 200000000
url_rewriting: mod_rewrite
page_extension: /
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: de_DE.UTF8
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.5.22-nmm1
md5_function: An (Ja)
gd_version: 2
tempnam_function: An (Ja)
magic_quotes_runtime: Aus (Nein)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: An
safe_mode: Aus (Nein)
file_uploads: An (Ja)
post_max_size: 200M
upload_max_filesize: 200M
session_save_path: Keine Prüfung, da eine „open basedir“-Beschränkung aktiviert ist
session_use_cookies: An (Ja)
xml_function: An (Ja)
xmlreader_class: An (Ja)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.23
Server Db Grants: Gefunden eine "Alles gewähren"-Anweisung, die als geeignet scheint
Server Time Diff: Keine Abweichung der Zeit im Dateisystem gefunden
----------------------------------------------


Last edited by xxtomxx on Sun Mar 22, 2015 3:01 pm, edited 1 time in total.

Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problems with FEU Imageuploads into Gallery
PostPosted: Sun Mar 22, 2015 7:04 am 
Offline
Support Guru
Support Guru
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 4000
Location: The Netherlands
the two issues might be related to the same fatal error you described. That error is caused by the udt. Probably because some old function is used.

You can try if it works when you comment out all the code in the udt by putting all lines between /* and */

In the meantime I will look into the udt when there is some free time here at Geekmoot in Ghent.

_________________


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problems with FEU Imageuploads into Gallery
PostPosted: Sun Mar 22, 2015 8:50 am 
Offline
Forum Members
Forum Members

Joined: Tue Jan 03, 2012 10:24 pm
Posts: 20
Jos -THANK you. :D

I commented out the UDT and it works fine on localhost and server.
The upload was succesful, I getno error message and the redirect works.
Great.

But will I run in problems when the UDT not works?
What function have the UDT? (only to set the params date, summary and description)

Tom


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problems with FEU Imageuploads into Gallery
PostPosted: Sun Mar 22, 2015 9:00 am 
Offline
Support Guru
Support Guru
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 4000
Location: The Netherlands
xxtomxx wrote:
What function have the UDT? (only to set the params date, summary and description)

That's correct

_________________


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problems with FEU Imageuploads into Gallery
PostPosted: Sun Mar 22, 2015 10:07 am 
Offline
Support Guru
Support Guru
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 4000
Location: The Netherlands
You can try to replace the complete UDT code with this:

Code:
$addfile = Gallery_utils::AddFileToDB($params['name'], '', Date('Y-m-d H:i:s'), 1, $params['summary'], $params['description']);


I didn't test this myself

_________________


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problems with FEU Imageuploads into Gallery
PostPosted: Sun Mar 22, 2015 3:00 pm 
Offline
Forum Members
Forum Members

Joined: Tue Jan 03, 2012 10:24 pm
Posts: 20
Thank you :)
It works.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [SOLVED]Problems with FEU Imageuploads into Gallery
PostPosted: Sun Mar 22, 2015 6:57 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 4000
Location: The Netherlands
Great! I edited the original forumpost to the right UDT.
It worked 5 years ago, but in the meantime functions have been moved.

Thank you for your well documented issue-report.

_________________


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting