image missing in added item #825
-
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 19 replies
-
|
Do other items have images which are shown? What is the size and format of the image which is not shown? Fwiw, I encountered symptoms which appear similar, seemingly caused by moving a webERP company db and directory from a Windows server to a FreeBSD server (or vice versa?) although the cause in your case could be completely different. #785 |
Beta Was this translation helpful? Give feedback.
-
|
The images are stored in the companies/{Database Name}/part_pics directory. Does your web server user have write permissions on that directory? Tim |
Beta Was this translation helpful? Give feedback.
-
|
I can't seem to replicate this, I have tried various ways. Do your error logs show anything that might help? The only thing that changed between 5.0.0 and 5.0.1 is this commit : e23e43c Tim |
Beta Was this translation helpful? Give feedback.
-
|
Sorry I meant the web server logs. They are probably under /var/log/apache or /var/log/nginx |
Beta Was this translation helpful? Give feedback.
-
You can also invoke php with the "-i" flag from the command line and search for the error_log entry. This is using a gitbash terminal on Windows 11 with php installed using xampp but using Ubuntu with vmware will be similar. For comparison, this is "php -i" on my production server (FreeBSD) using the Apache web server and PHP-FPM (recommended now by Apache for executing PHP instead of mod_php) and with error reporting disabled (although I'm not 100% sure I have logging configured the way I think... ;-) and PHP-FPM logs errors to /var/log/php-fpm.log (per /usr/local/etc/php-fpm.conf) |
Beta Was this translation helpful? Give feedback.
-
|
Thanks Dale, that hadn't occurred to me. Tim |
Beta Was this translation helpful? Give feedback.
-
|
P.S. @nutcracker53 I forgot to mention the "ItemDescriptionLanguages" warning is because the row is missing from the config table (because it wasn't created by the installer). I'm not sure if this has been fixed in the installer now (I suspect not though), but you can add it following our discussion in your "Cannot add new users in new installation" discussion (#819 (comment)). The "permission denied in /var/www/weberp/includes/footer.php" warning is actually reporting the footer is unable to write to the log file because either the log file directory in menu [Setup > General > System Parameters] under System is incorrect for your server or the web server doesn't have write permission to the directory. Both warnings are just that (warnings) and webERP behavior will not be affected otherwise. |
Beta Was this translation helpful? Give feedback.








I decided to re-installed weberp. Problem solved.. Thanks guys