Apex - application static files not found - oracle

I have installed recently Apex 19.2
Apex works fine, however my applications don't show any static application files.
I uploaded an image to my workspace app and I insert it in a region as follows :
<img src="#APP_IMAGES#Logo.png" />
When the page loads, the substitution string is parsed and I have an error :
9#GET https://www.example.com:8080/ords/useralias/r/100/files/static/v2/Logo.png 404 (Not Found)
I tried this but it's not working
#apex_epg_config.sql C:\My\01-Tools\04-Apex (Apex home)
Also here is my standalone.properties file :
jetty.secure.port=8080
standalone.context.path=/ords
standalone.doc.root=C\:\\My\\01-Tools\\03-Ords Installation\\ords\\standalone\\doc_root
standalone.scheme.do.not.prompt=true
standalone.static.context.path=/i
standalone.static.path=C\:\\My\\01-Tools\\04-Apex\\apex\\images
ssl.cert=C\:\\My\\01-Tools\\03-Ords Installation\\ords\\standalone\\certificate\\certificate.der
ssl.cert.key=C\:\\My\\01-Tools\\03-Ords Installation\\ords\\standalone\\certificate\\private.der
ssl.host=www.example.com
All the paths are correct.
Does any know how to solve that please ?
Thanks
Cheers,

Are you updating apex and using ords? If so, executing this command might solve your problem.
java -jar ords.war validate
this validates the instalation and the static files.

Related

How to host Spring boot application on cpanel?

I have a Spring boot application and i want to host it in my VPS server (cpanel).
I'am using the last version of cpanel & WHM with easyapache 4.
I exactly followed the steps on this website : https://dzone.com/articles/deploying-war-file-in-easy-apache-4-tomcat-experim
But, nothing on the result. I got Error 404 when i access to my domain name.
If anyone can help me on this or anyone done this before could give the exact steps to follow.
Thank you.
I had difficulty with that too, use the link in the attachment that you will have an orientation, but it may be that not everything is 100% the same. If you have any questions during the process, you can contact!
change the name of the .war file to ROOT.war , and follow all the procedures described in the link;
In the "application.properties" file, add the "server.port" configuration for the port you found in the link (step 2, part 1).
ex: server.port=10003
Open the file "ea-tomcat85/logs/catalina.out" to see the errors thrown
link: https://suporte.hostgator.com.br/hc/pt-br/articles/360038980913-Como-configurar-o-Tomcat-

showmessage.jar not found 404

I'm new in Oracle Forms, i try to execute an application developped in Oracle Forms with Java Web Start, so this application need a jar file named "showmessage.jar", when i check the folder "$ORACLE_HOME/forms/java" i found the file but when i try to access to it via browser http://192.168.1.22:8888/forms/java/showmessage.jar i have an 404 error.
I tried to rename the jar file and i can access to it, i don't know why ?
If anyone had an idea about this issue, Please help me.
Thanks.
In the rwserver.conf file, you can set what folders Forms (and Reports!) has access to.
Configuring file access
This link describes the "write" access, but this is also how "read" access is configured (I haven't tried this with environment variables):
# Single Target Directory
<folderAccess>
<read>C:\oracle\forms\</read>
<write>C:\oracle\forms</write>
</folderAccess>

Joomla Server Error 500 after own template installation

I made a template which works perfectly fine locally, but when I install it on a server and set it to default, I get a server error 500. All other (default) templates seem to be working fine, though... Any ideas?
View this tutorial (Admin Tools - Change Folder and File Permissions):
http://www.ostraining.com/blog/joomla/admin-tools-the-quick-and-easy-way-to-change-folder-and-file-permissions/
You may want to check your server error log to see if there is anything more detailed.
500 is a generic error (if no other information is provied by Joomla!).

codeigniter display error: Unable to locate the model you have specified:

I use latest version of CI, that is 2.1.2.
I upload my demo application in the following location http://www.domainname.com/myfolder/index.php
If i try to open home page, welcome controller is opened correctly. However if I try to open http://www.domainname.com/myfolder/index.php/controllername/functionname page, I get the following error message:
An Error Was Encountered
Unable to locate the model you have specified: backofficeusersmodel
In my config file, I have the following settings:
$config[‘base_url’] = ‘http://www.domainname/myfolder/’;
$config[‘index_page’] = ‘index.php’;
I also tried and
$config[‘base_url’] = ‘http://www.domainname.com/myfolder/application/’;
$config[‘index_page’] = ‘index.php’;
without any success.
However, the model is uploaded and its name is backOfficeUsersModel, not as stated in the error message all lover case.
I would like to mention that I use myModel (uploaded in application/core), and that same strange thing was happening when I upload same application under some free hosting, just there the error was that mymodel could not be located.
I upload same application on different hosting company and there it worked. Also, same application work normally on my localhost.
Anyone had similar experience?
Model files should be in application/models folder and should be named in lower case like backofficeusersmodel. Probably there is a deficiency in these requirements.

Ck editor file uploading - getting internal server error 500

We have a web site with domain http://209.59.154.150/~phnxaudi/,.
To develop this website we have used Joomla framework, and we have used Ckeditor in it, for uploading files(pdf, images etc ).
Also we have installed Ckeditor in the server.
But for some reason we are getting an internal 500 server error.
Could anyone please help us to solve this issue?
I have gotten 500 errors from ckFinder. It almost always is permissions. Ensure that the internet user has read/directory browse/write permissions to the configured "user files" folder.
Try to remove the ".htaccess" file in the ckeditor root directory. This caused the error at our server.
if that's dont work, try to gave 0755 permission to the connector file in core....
when you put your files in the server automatically give 0777 permissions, and I can't execute php file, ...
try with a "hello world" en ckfinder folder and you can see the problem of permission.
sorry for my bad english.
enjoy!
Try to remove the ".htaccess" file in the ckeditor root directory. This caused the error at our server. by Wim Van Loon < this solves the problem
Does the filename contain non-standard characters? Does it have no extension? I've found that if either of those are true, the image will not upload, the logs show nothing, and the CKEditor image upload interface shows a 500 error.
I faced the same issue with my ck_editor app, I was getting a similar type of error.
I tried copying demo application from django-ckeditor repository ck-editor demo application
with all the settings.
I faced two types of errors:-
Not mentioning upload path in the root urls
path('upload/', ImageUploadView.as_view(), name="upload")
import ImageUploadView from the ckeditor_uploader.views
I selected ckeditor_uploader's pillowbackend
This forum was quite useful to solve this problem.
which should have been something like
Hope it solves your problem.
i get this error
after install ckeditor and add the ckuploader '
Note: don't forget before you do the upload to run this commend:
python manage.py collectstatic
you need to get this folder in your project and on it you find this ckeditor folder:
enter image description here
I do this settings and it worked for me:
enter image description here
if you don't work with you just search on youtube
how to upload images in django - ckeditor

Resources