Cannot add images to articles Topic is solved

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
User avatar
Meseko
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Fri Sep 26, 2008 6:00 pm

Cannot add images to articles

Post by Meseko » Tue May 21, 2024 10:10 am

Forum Post Assistant (v1.6.7) : 21-May-2024 wrote:
Problem Description :: wrote:Cannot add images to an article, category etc.
Log/Error Message :: wrote:Internal Server Error
Actions Taken To Resolve wrote:ISP provider has not updated anything and no known errors reported.
Basic Environment :: wrote:Joomla! Instance :: Joomla! 5.1.1-rc1-Release Candidate (Kudumisha) 20-May-2024
Joomla! Configured :: Yes | Writable (644) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: No | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: N/A | Proxy: N/A | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 5.1.1-rc1: Yes | Database Supports J! 5.1.1-rc1: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-962.3.2.lve1.5.83.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br, zstd | System TMP Writable: Yes | Free Disk Space : 116.95 GiB |

PHP Configuration :: Version: 8.1.28 | PHP API: litespeed | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 22527 | Log Errors To: error_log | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 1G | Max. POST Size: 256M | Max. Input Time: 1000 | Max. Execution Time: 3000 | Memory Limit: 3072M

Database Configuration :: Version: 10.6.17-MariaDB-cll-lve-log (Client:3.3.9) | Database Size: 4.52 MiB | #of Tables with config prefix:  75 | #of other Tables:  0 | User Privileges : GRANT SELECTUser Privileges : INSERTUser Privileges : UPDATEUser Privileges : DELETEUser Privileges : CREATEUser Privileges : DROPUser Privileges : REFERENCESUser Privileges : INDEXUser Privileges : ALTERUser Privileges : CREATE TEMPORARY TABLESUser Privileges : LOCK TABLESUser Privileges : EXECUTEUser Privileges : CREATE VIEWUser Privileges : SHOW VIEWUser Privileges : CREATE ROUTINEUser Privileges : ALTER ROUTINEUser Privileges : EVENTUser Privileges : TRIGGER
Detailed Environment :: wrote:PHP Extensions :: Core (8.1.28) | date (8.1.28) | libxml (8.1.28) | openssl (8.1.28) | pcre (8.1.28) | sqlite3 (8.1.28) | zlib (8.1.28) | bz2 (8.1.28) | calendar (8.1.28) | ctype (8.1.28) | curl (8.1.28) | hash (8.1.28) | filter (8.1.28) | ftp (8.1.28) | gettext (8.1.28) | json (8.1.28) | iconv (8.1.28) | SPL (8.1.28) | pcntl (8.1.28) | readline (8.1.28) | Reflection (8.1.28) | session (8.1.28) | standard (8.1.28) | mbstring (8.1.28) | shmop (8.1.28) | SimpleXML (8.1.28) | tokenizer (8.1.28) | xml (8.1.28) | litespeed () | i360 (8.1.1) | bcmath (8.1.28) | dba (8.1.28) | dom (20031129) | enchant (8.1.28) | fileinfo (8.1.28) | gd (8.1.28) | imagick (3.7.0) | imap (8.1.28) | intl (8.1.28) | ldap (8.1.28) | exif (8.1.28) | monarxprotect (5.0.164) | mysqli (8.1.28) | mysqlnd (mysqlnd 8.1.28) | odbc (8.1.28) | PDO (8.1.28) | pdo_mysql (8.1.28) | PDO_ODBC (8.1.28) | pdo_pgsql (8.1.28) | pdo_sqlite (8.1.28) | pgsql (8.1.28) | Phar (8.1.28) | posix (8.1.28) | pspell (8.1.28) | snmp (8.1.28) | soap (8.1.28) | sockets (8.1.28) | sysvmsg (8.1.28) | sysvsem (8.1.28) | sysvshm (8.1.28) | tidy (8.1.28) | xmlreader (8.1.28) | xmlwriter (8.1.28) | xsl (8.1.28) | zip (1.19.5) | Zend Engine (4.1.28) |
Potential Missing Extensions ::

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) | api/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 1494111 | Threads: 14 | Questions: 185403995 | Slow queries: 1146 | Opens: 1483290 | Open tables: 7031 | Queries per second avg: 124.089 |
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::

Components :: Admin ::
Core :: com_actionlogs (3.9.0) 1 | com_admin (4.0.0) 1 | com_ajax (4.0.0) 1 | com_associations (4.0.0) 1 | com_banners (4.0.0) 1 | com_cache (4.0.0) 1 | com_categories (4.0.0) 1 | com_checkin (4.0.0) 1 | com_config (4.0.0) 1 | com_content (4.0.0) 1 | com_contenthistory (4.0.0) 1 | com_cpanel (4.0.0) 1 | com_fields (4.0.0) 1 | com_finder (4.0.0) 1 | com_guidedtours (4.3.0) 1 | com_installer (4.0.0) 1 | com_joomlaupdate (4.0.3) 1 | com_languages (4.0.0) 1 | com_login (4.0.0) 1 | com_mails (4.0.0) 1 | com_media (3.0.0) 1 | com_menus (4.0.0) 1 | com_messages (4.0.0) 1 | com_modules (4.0.0) 1 | com_newsfeeds (4.0.0) 1 | com_plugins (4.0.0) 1 | com_postinstall (4.0.0) 1 | com_privacy (3.9.0) 1 | com_redirect (4.0.0) 1 | com_scheduler (4.1.0) 1 | com_tags (4.0.0) 1 | com_templates (4.0.0) 1 | com_users (4.0.0) 1 | com_workflow (4.0.0) 1 | com_wrapper (4.0.0) 1 |
3rd Party::

Modules :: Site ::
Core :: mod_articles_archive (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_tags_similar (3.1.0) 1 | mod_users_latest (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_wrapper (3.0.0) 1 |
3rd Party::

Modules :: Admin ::
Core :: mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_frontend (4.0.0) 1 | mod_guidedtours (4.3.0) 1 | mod_latest (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_logged (3.0.0) 1 | mod_login (3.0.0) 1 | mod_loginsupport (4.0.0) 1 | mod_menu (3.0.0) 1 | mod_messages (4.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_post_installation_messages (4.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_privacy_status (4.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_stats_admin (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_title (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_user (4.0.0) 1 | mod_version (3.0.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_actionlog_joomla (3.9.0) 1 | plg_api-authentication_basic (4.0.0) 0 | plg_api-authentication_token (4.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_behaviour_compat (5.0.0) 1 | plg_behaviour_taggable (4.0.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_emailcloak (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_finder (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_vote (3.0.0) 0 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_extension_finder (4.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_extension_namespacemap (4.0.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_filesystem_local (4.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_installer_override (4.0.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_media-action_crop (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_media-action_rotate (4.0.0) 1 | plg_multifactorauth_email (4.2.0) 1 | plg_multifactorauth_fixed (4.2.0) 0 | plg_multifactorauth_totp (3.2.0) 1 | plg_multifactorauth_webauthn (4.2.0) 1 | plg_multifactorauth_yubikey (3.2.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_quickicon_downloadkey (4.0.0) 1 | plg_quickicon_eos (4.4.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_sampledata_multilang (4.0.0) 1 | plg_schemaorg_article (5.1.0) 1 | plg_schemaorg_blogposting (5.0.0) 1 | plg_schemaorg_book (5.0.0) 1 | plg_schemaorg_custom (5.1.0) 1 | plg_schemaorg_event (5.0.0) 1 | plg_schemaorg_jobposting (5.0.0) 1 | plg_schemaorg_organization (5.0.0) 1 | plg_schemaorg_person (5.0.0) 1 | plg_schemaorg_recipe (5.0.0) 1 | plg_system_accessibility (4.0.0) 0 | plg_system_actionlogs (3.9.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_guidedtours (4.3.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_httpheaders (4.0.0) 1 | plg_system_jooa11y (4.2.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_languagefilter (3.0.0) 0 | plg_system_log (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_redirect (3.0.0) 0 | plg_system_remember (3.0.0) 1 | plg_system_schedulerunner (4.1) 1 | plg_system_schemaorg (5.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_shortcut (4.2.0) 1 | plg_system_skipto (4.0.0) 1 | plg_system_stats (3.5.0) 0 | plg_system_task_notification (4.1) 1 | plg_system_webauthn (4.0.0) 1 | plg_task_deleteactionlogs (5.0.0) 1 | plg_task_globalcheckin (5.0.0) 1 | plg_task_privacyconsent (5.0.0) 1 | plg_task_check_files (4.1) 1 | plg_task_requests (4.1) 1 | plg_task_rotatelogs (5.0.0) 1 | plg_task_sessiongc (5.0.0) 1 | plg_task_site_status (4.1) 1 | plg_task_updatenotification (5.0.0) 1 | plg_user_joomla (3.0.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_terms (3.9.0) 0 | plg_user_token (3.9.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_languages (4.0.0) 1 | plg_webservices_media (4.1.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_workflow_publishing (4.0.0) 1 |
3rd Party:: plg_editors_codemirror (6.0.0) 1 | plg_editors_tinymce (6.8.3) 1 |
Templates Discovered :: wrote:Templates :: Site :: cassiopeia (1.0) 1 |
Templates :: Admin :: atum (1.0) 1 |
Last edited by toivo on Tue May 21, 2024 12:57 pm, edited 1 time in total.
Reason: mod note: moved from 5.x Performance

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9914
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Cannot add images to articles

Post by AMurray » Tue May 21, 2024 1:28 pm

"Max Post Size" has to be larger or equal to "Max Upload Size". The values seem a bit excessive too.
FPA wrote: Max. Upload Size: 1G | Max. POST Size: 256M
Set both to something more reasonable such as 64M each. The above is likely at least one reason for the problem. You might also need to review the Media Manager file upload limit. This is changed separately to the PHP settings, but has to be equal or below the "max upload size" setting for PHP. Depending on your article editor, it may have its own set of restrictions for file uploads which have to be in line with the PHP setting.

Another weird setting:
FPA wrote:Memory Limit: 3072M
That's 3.072 GB - quite excessive. The normal setting would be something like 128M, 256M or 512M (this is just an unusual setting, not saying it's contributing to the problem).

**If, after changing the max post size and max upload size values, the error continues, suggest posting the fault on Github (issues.joomla.org), noting that you're using Joomla 5.1.1 RC1 not the stable version 5.1.0. (refer viewtopic.php?f=8&t=1009309)
Regards - A Murray
General Support Moderator

User avatar
Mojsplet
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 131
Joined: Sat Mar 28, 2009 3:54 pm
Location: Slovenia
Contact:

Re: Cannot add images to articles

Post by Mojsplet » Tue May 21, 2024 2:04 pm


User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9914
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Cannot add images to articles

Post by AMurray » Tue May 21, 2024 9:27 pm

Mojsplet wrote: Tue May 21, 2024 2:04 pm See viewtopic.php?f=808&t=1009286
interesing - similar error but the post linked above the OP was having the trouble with J4.4.4 not 5.1.1RC1.
Regards - A Murray
General Support Moderator

User avatar
Mojsplet
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 131
Joined: Sat Mar 28, 2009 3:54 pm
Location: Slovenia
Contact:

Re: Cannot add images to articles

Post by Mojsplet » Wed May 22, 2024 2:23 pm

I have the same problem with J 5.1 and 4.4.

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2794
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Cannot add images to articles

Post by ceford » Wed May 22, 2024 9:35 pm

Please tell us why you cannot add images. Where does the process stop? Do you see any error messages? Have you opened your browser Developer Tools to see if any errors are reported there?

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9914
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Cannot add images to articles

Post by AMurray » Wed May 22, 2024 9:40 pm

if you are getting an internal server error (Error 500), then turn on debug, and Error Reporting to"Maximum" and report back to the forum all errors you're seeing.

The FPA shows these currently:
FPA wrote:Error Reporting: default | Site Debug: false
Change these through the configuration.php file, or in the Joomla Adminstrator system (or server) settings, or if need be, through your web host account (such as cPanel or whatever you use for the hosting administration).
Regards - A Murray
General Support Moderator

User avatar
Meseko
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Fri Sep 26, 2008 6:00 pm

Re: Cannot add images to articles

Post by Meseko » Sun May 26, 2024 8:04 am

Mojsplet wrote: Tue May 21, 2024 2:04 pm See viewtopic.php?f=808&t=1009286
This topic presented me with the solution. Turning off mod_security at my ISP made it work again. Thank you for all your answers.


Post Reply

Return to “General Questions/New to Joomla! 5.x”