Oracle APEX – Error: "The Oracle APEX files have not been loaded"
Oracle APEX – Error: "The Oracle APEX files have not been loaded"
While launching Oracle APEX through Oracle REST Data Services (ORDS), you might encounter the following error:
Please verify that you have copied the images directory to your application server as instructed
in the Installation Guide. In addition, please verify that your image prefix path is correct.
Your current path is /i/ (it should contain both starting and ending forward slashes,
such as the default /i/). Use the SQL script reset_image_prefix.sql if you need to change it.
This message means that APEX cannot locate its static files (CSS, JavaScript, images), which are required for the user interface to function properly.
Since APEX version 18, Oracle supports loading static resources directly from their Content Delivery Network (CDN), eliminating the need to store these files locally on your server.
How I Fixed It
sqlplus '/as sysdba'
@/apex/apex_24.2/apex/utilities/reset_image_prefix.sql
https://static.oracle.com/cdn/apex/24.2.0/
- I logged into the database as SYSDBA:
- I ran the official Oracle script:
- When prompted for the new
IMAGE_PREFIX
, I entered: - After that, I restarted ORDS and everything worked as expected.
Why Use the Oracle CDN?
- No need to copy or serve
/images
locally - No need to configure
standalone.static.path
in ORDS - Fewer configuration errors
- Better performance via global delivery
- Officially supported by Oracle
Summary
If you encounter this APEX error:
https://static.oracle.com/cdn/apex/24.2.0/
- Log in as SYSDBA
- Run
reset_image_prefix.sql
- Set the image prefix to:
- Restart ORDS
This resolves the missing static resources issue without requiring any files to be hosted locally.
Official Oracle Documentation
![[photo]](/media/images/profile_pic/fot2.jpg)
Aleksander Legkoszkur
Database Administrator
A technology fan who likes to stayes at night until he finds a solution. A small handyman who tries to fix everything he can get his hands on. Worked with technologies like:
Windows Server / Linux
Oracle Cloud
Python / T-SQL / PL-SQL / HTML / CSS
Oracle / SQL Server