Page 1 of 1

Uploads Module: stopped show frontend file when moved to new

Posted: Fri Apr 03, 2020 2:29 pm
by blackrain
Hi,

I recently moved a site to a new server, The site is running cmsms 1.12.2 and will need to continue doing so for a short time until the client agrees to the upgrade.

however, the module Uploads has stopped working and I have no idea why this would be, I don't know if it need a specific php extension to work correctly or not.

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

Cms Version: 1.12.2

Installed Modules:

CMSMailer: 5.2.14
FileManager: 1.4.5
MenuManager: 1.8.7
News: 2.15.2
Printing: 1.1.2
Search: 1.7.13
ThemeManager: 1.1.8
TinyMCE: 2.9.12
SEOTools2: 1.2.1
CGExtensions: 1.53.19
CGSimpleSmarty: 1.10
Uploads: 1.24.2
Cataloger: 0.11.3
FrontEndUsers: 1.31.3
MicroTiny: 1.2.9
ModuleManager: 1.5.8
CMSPrinting: 1.0.5
youtubeplayer: 1.3.1
CustomContent: 1.8.3
ListIt2: 1.4.1
ListIt2Team: 1.4.1
ListIt2CaseStudies: 1.4.1
FormBuilder: 0.8.1.6
FormBrowser: 0.5
ListIt2Publications: 1.4.1

Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 16000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:

phpversion: 5.6.40
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 120
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 16M
upload_max_filesize: 16M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Re: Uploads Module: stopped show frontend file when moved to

Posted: Fri Apr 03, 2020 5:32 pm
by Rolf
Check your config.php file.
There might be old config settings with the wrong paths/urls in it.

Re: Uploads Module: stopped show frontend file when moved to

Posted: Fri Apr 03, 2020 6:08 pm
by DIGI3
can you explain "stopped working"? Like does it give an error (on screen or in the error log) or are uploads failing, or...?

Re: Uploads Module: stopped show frontend file when moved to

Posted: Sat Apr 04, 2020 8:58 am
by blackrain
@Rolf

Config is correct and the rest of the cms works as expected it is just the Uploads module that is affected.

@DIGI3

On the old server the Uploads module showed files on the frontend, they appear perfectly on the cms but do not render at all on the frontend.

I have tried to see the array using:

Code: Select all

<pre>{$items|print_r:1}</pre>
but I just get an empty array

Mark