View Issue Details

This bug affects 1 person(s).
 14
IDProjectCategoryView StatusLast Update
16388Bug reportsTheme editorpublic2021-03-10 17:48
Reportergiuseppe1 Assigned Toollehar  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version3.22.19 
Summary16388: theme Logo upload fails with error 500
Description

Hi,

logo upload fail with error 500:

<h1>PHP Error [500]</h1>
<p>finfo_file(headernovartis.png): failed to open stream: No such file or directory (/home/digitalreadiness/domains/digitalreadiness.it/public_html/framework/utils/CFileHelper.php:282)</p>
<pre>#0 /home/digitalreadiness/domains/digitalreadiness.it/public_html/framework/base/CApplication.php(834): CErrorHandler->handle()
#1 unknown(0): LSYii_Application->handleError()
#2 /home/digitalreadiness/domains/digitalreadiness.it/public_html/framework/utils/CFileHelper.php(282): finfo_file()
#3 /home/digitalreadiness/domains/digitalreadiness.it/public_html/application/core/LSYii_ImageValidator.php(47): getMimeType()
#4 /home/digitalreadiness/domains/digitalreadiness.it/public_html/application/controllers/admin/themes.php(214): validateImage()
#5 unknown(0): themes->upload()
#6 /home/digitalreadiness/domains/digitalreadiness.it/public_html/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs()
#7 /home/digitalreadiness/domains/digitalreadiness.it/public_html/application/core/Survey_Common_Action.php(83): themes->runWithParamsInternal()
#8 /home/digitalreadiness/domains/digitalreadiness.it/public_html/application/controllers/admin/themes.php(33): themes->runWithParams()
#9 /home/digitalreadiness/domains/digitalreadiness.it/public_html/framework/web/CController.php(308): themes->runWithParams()
#10 /home/digitalreadiness/domains/digitalreadiness.it/public_html/framework/web/CController.php(286): AdminController->runAction()
#11 /home/digitalreadiness/domains/digitalreadiness.it/public_html/framework/web/CController.php(265): AdminController->runActionWithFilters()
#12 /home/digitalreadiness/domains/digitalreadiness.it/public_html/application/controllers/AdminController.php(165): AdminController->run()
#13 /home/digitalreadiness/domains/digitalreadiness.it/public_html/framework/web/CWebApplication.php(282): AdminController->run()
#14 /home/digitalreadiness/domains/digitalreadiness.it/public_html/framework/web/CWebApplication.php(141): LSYii_Application->runController()
#15 /home/digitalreadiness/domains/digitalreadiness.it/public_html/framework/base/CApplication.php(185): LSYii_Application->processRequest()
#16 /home/digitalreadiness/domains/digitalreadiness.it/public_html/index.php(194): LSYii_Application->run()
</pre>

Steps To Reproduce

go to index.php/admin/themeoptions/sa/update/id/xxx

try to upload a new logo

TagsNo tags attached.
Bug heat14
Complete LimeSurvey version number (& build)3.22.19+200605
I will donate to the project if issue is resolvedNo
Browser
Database type & version359
Server OS (if known)
Webserver software & version (if known)
PHP Version7.2

Users monitoring this issue

giuseppe1, pixel.2920

Activities

user225042

2020-06-16 13:46

  ~58303

Can you provide us with more details like which Database are you using

giuseppe1

giuseppe1

2020-06-16 14:07

reporter   ~58304

mysql 5.7

pixel.2920

pixel.2920

2020-06-22 01:11

reporter   ~58367

Can confirm on brand-new install of LS Version 3.22.20+200617, PHP 7.3, MariaDB 10.1. Same error message as above.

cdorin

cdorin

2021-02-03 19:26

reporter   ~61914

Hey @giuseppe1, can you pleaste test in latest LTS if the issue is still there?

ollehar

ollehar

2021-03-10 17:48

administrator   ~63116

Hello giuseppe1,

we have asked for feedback on this issue. Because we did not get an answer we assume that the issue is resolved.
However, should you be able to reproduce the issue using the latest version, please feel free to re-open the issue and give us exact details on how to reproduce it.

Thank you and best regards,

ollehar

Issue History

Date Modified Username Field Change
2020-06-15 21:30 giuseppe1 New Issue
2020-06-15 21:50 giuseppe1 Issue Monitored: giuseppe1
2020-06-16 13:46 user225042 Note Added: 58303
2020-06-16 14:07 giuseppe1 Note Added: 58304
2020-06-22 01:11 pixel.2920 Note Added: 58367
2020-06-22 20:48 pixel.2920 Issue Monitored: pixel.2920
2021-02-03 19:26 cdorin Note Added: 61914
2021-02-03 19:26 cdorin Status new => feedback
2021-03-10 17:48 ollehar Assigned To => ollehar
2021-03-10 17:48 ollehar Status feedback => closed
2021-03-10 17:48 ollehar Resolution open => fixed
2021-03-10 17:48 ollehar Note Added: 63116
2021-08-03 18:01 guest Bug heat 10 => 14