New article page on Joomla fails - html

I have a problem which I have no clue how to solve. I have a joomla site which looks like working perfect (http://secretinvizimals.com/). There is only one page which fails - my add new article page.
Here is a link to my problem: http://secretinvizimals.com/index.php/contribute
You might need to login first with these credentials: Username: StackOverflow password: StackOverflow
you can log in on the mainpage at the top: http://secretinvizimals.com/
Just very short: The problem is that the page comes out with no style:
Does anyone have an idea of where I can start with this - or maybe a solution?
Here comes some faqs about my joomla site:
Joomla version 2.5.7
Custom theme developed in Artisteer 4.0
I hope you can help me.
BR

Firebug/Chrome Developer Tools state that your missing the editor.css file. Which is the style sheet for editing stuff. The link its looking for it is here:
http://secretinvizimals.com/index.php/skins/kama/editor.css?t=C3HA5RM
Although there is no file there - judging by the other links I'm guessing this was an old template or something?? You either need to change the file location if it does exist in another location or you need to create a file for it and put in the standard stuff.
Chrome developer tools is also finding half a dozen errors
<error> index.php:1
Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/config.js?t=C3HA5RM
Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/index.php/skins/kama/editor.css?t=C3HA5RM
Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/index.php/lang/en-gb.js?t=C3HA5RM
Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/plugins/linkBrowser/plugin.js?t=C3HA5RM
Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/plugins/mediaembed/plugin.js?t=C3HA5RM
Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/plugins/readmore/plugin.js?t=C3HA5RM
Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/index.php/plugins/tableresize/plugin.js?t=C3HA5RM
Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/index.php/plugins/autogrow/plugin.js?t=C3HA5RM
Uncaught [CKEDITOR.resourceManager.load] Resource name "linkBrowser" was not found at "http://secretinvizimals.com/index.php/../plugins/linkBrowser/plugin.js?t=C3HA5RM". index.php:1519
Uncaught RangeError: Maximum call stack size exceeded (x10)
Uncaught RangeError: Maximum call stack size exceeded index.php:1654 (x2)
Uncaught RangeError: Maximum call stack size exceeded (x6)
Uncaught RangeError: Maximum call stack size exceeded index.php:1654 (x2)
Uncaught RangeError: Maximum call stack size exceeded (x6)
The initial one being to do with the fact there is no doctype, html declaration or anything at the top of your page. Which is a bit more confusing. I'd have to assume that this was some kind of template issue. But obviously its a lot harder to test something like that from the outside access. Have you tried turning on the Joomla debug feature to see whats going on?

Related

Cannot view GitHub documentation

I cannot view GitHub documentation (https://docs.github.com/*) in Chrome 79.0.3945.117
(MacOS 12.0.1): I see only a blank page.
In the Chrome console, I see the following errors:
DOMException: Failed to execute 'sendBeacon' on 'Navigator': sendBeacon() with a Blob whose type is not any of the CORS-safelisted values for the Content-Type request header is disabled temporarily. See http://crbug.com/490015 for details.
DOMException: Failed to execute 'sendBeacon' on 'Navigator': sendBeacon() with a Blob whose type is not any of the CORS-safelisted values for the Content-Type request header is disabled temporarily. See http://crbug.com/490015 for details.
A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
Error rendering page: TypeError: Cannot read property 'cookies' of undefined
Failed to load resource: the server responded with a status of 404 ()
I have installed a newer version of Chrome (96.0.4664.55) and now I can see the GitHub Documentation Page (thanks #albert for the suggestion).
I was sure that Chrome Automatic Update was activated but clearly I was wrong.
Now I have to check from time to time whether Chrome Automatic Update works propertly.

400 Errors on Github Pages because of error on manifest.json being read as text/html

So I'm trying to serve my github pages website to https://dgatto.github.io/website/ and i keep getting these errors
Failed to load resource: the server responded with a status of 400 ()
manifest.json:1 Failed to load resource: the server responded with a status of 400 ()
manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.
I think that the 400's are because of the "syntax error" and I'm pretty sure that the syntax error is because of the manifest.json file being read as text/html in the network tab.
My question is, how do I change the server to accept the file as json? It's github pages so I don't really have access to the server itself.
Here's the repo if that helps: https://github.com/dgatto/website
Since you are serving your Application at https://dgatto.github.io/website/, you should define it as the homepage in your package.json file and then build.

How do I change a 500 error into a 404 error and show a custom page?

I just launched a site and when I go to a non-existing page, I get a 500 Internal Server error instead of a 404 errror.
I was thinking that this was because I didn't have a 404.html page (just a guess), but I just created a 404.html page at the root and I still get 500 errors.
What should I do to make it so that when somebody types in a bad address they get redirected to my custom 404 error page?
There is no special stuff going on with my site, just HTML, CSS and a tiny bit of javaScript. Not a Rails app, not a Wordpress site, no PHP, etc. ..just HTML files on an Apache server.
The error I get when I go to a non-existing page or directory reads like this"
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator,
webmaster#subdomain.domain.com and inform them of the time the
error occurred, and anything you might have done that may have caused
the error.
More information about this error may be available in the server error
log.
Additionally, a 500 Internal Server Error error was encountered while
trying to use an ErrorDocument to handle the request.
After you have the Error 500 problem solved you can create a custom 404 page by editing your .htaccess file you should have one in the root of your directory.
Open the file with a text editor and add this:
ErrorDocument 404 http://www.yourwebsite.com/404page.html
You could also create a custom Error 500 by changing the above code to suite your needs.
It's pretty self explanatory but the last part is the directory that users will be directed to after they receive a 404 error.

Bootstrap Example Not Rendering Gray Box. Everything Else Fine?

I used 'view source page' and took all the html from the this example on the bootstrap website: http://getbootstrap.com/examples/carousel/
It runs smoothly on my localhost using Django except for one small thing. That Gray Box within the sliding carousel doesn't appear? Oddly, if I put all the html into JSfiddle it's also missing.
I've included the CSS and works perfectly for everything else on the page:
<link rel="icon" href="../../favicon.ico">
<link href="carousel.css" rel="stylesheet">
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
So my django page looks exactly like this: http://jsfiddle.net/yU9zE/1/
Funkylaundry has identified that some of the css isn't loading for some reason. He found this warnings/errors using a debugging tool called firebug:
Failed to load resource: the server responded with a status of 404 (Not Found) http://fiddle.jshell.net/yU9zE/1/show/carousel.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://fiddle.jshell.net/yU9zE/dist/css/bootstrap.min.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://fiddle.jshell.net/yU9zE/assets/js/ie10-viewport-bug-workaround.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://fiddle.jshell.net/yU9zE/assets/js/ie-emulation-modes-warning.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://fiddle.jshell.net/yU9zE/dist/js/bootstrap.min.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://fiddle.jshell.net/yU9zE/assets/js/docs.min.js
I'm not sure what to do because I'm new bootstrap and I usually just use a simple external css file. Should i be seeing new css files in my assets folder on django too? Becuase I don't. I'd love to get the gray box to appear, but I'm stumped.
It seems you did not hook your assets right (i.e. the carousel.css is never loaded). If you check your developer tools/firebug or whatever you're using you will see a bunch of 404s:
Failed to load resource: the server responded with a status of 404 (Not Found) http://fiddle.jshell.net/yU9zE/1/show/carousel.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://fiddle.jshell.net/yU9zE/dist/css/bootstrap.min.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://fiddle.jshell.net/yU9zE/assets/js/ie10-viewport-bug-workaround.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://fiddle.jshell.net/yU9zE/assets/js/ie-emulation-modes-warning.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://fiddle.jshell.net/yU9zE/dist/js/bootstrap.min.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://fiddle.jshell.net/yU9zE/assets/js/docs.min.js

Unable to view css background-image on links

Hi guys i hope some one could help me with my problem
When i open my web page on local computer everything works just fine i can see the images, but as soon as i upload my web page to a server i dont see the images.
All file locations are correct, all file names are correct, i've checked the file permissions, css file linked properly, images set relativly to css file.
i've JSFiddled the code and it works fine: http://jsfiddle.net/ySm2x/
But it just won't show up in my web site - heres a link to my web site, the images should show under the "Coming Soon" text : http://www.voskitag.com
What can be the problem?
Here are example HTML&CSS codes i used:
HTML CODE:
<div class="social" height="40">
<a class="example" href="#" target="_blank">Example</a>
</div>
CSS Code:
.social {
text-align: center;
height: 40px;
width: auto;
}
.example {
display: inline-block;
width: 40px;
height: 40px;
background-image: url(image/url/relative/to/css/file);
text-indent: -99999px;
}
.example:hover {
background-position: 0 -40px;
}
The css you have attached is correct, so it seems the image paths are not correct (or also a permission problem). May be you must check again that those paths are correct. Firebug shows that they are problems (404 not found) with those images:
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.voskitag.com/icons/instagram.png
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.voskitag.com/icons/twitter.png
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.voskitag.com/icons/youtube.png
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.voskitag.com/icons/vimeo.png
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.voskitag.com/icons/googleplus.png
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.voskitag.com/icons/tumblr.png
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.voskitag.com/icons/flickr.png
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.voskitag.com/icons/pinterest.png
Are you sure that the paths to the images are correct?
I dont know how to solve your problem. But if i try to get your pictures like this
http://www.voskitag.com/icons/googleplus.png
I get the following error (maybe this helps):
[www.voskitag.com] [Mon Oct 14 22:30:52 2013] [error] [client 92.106.149.238] Premature end of script headers: f403.php
Error 500: Script Execution Failure
Description: The server encountered an internal error or misconfiguration and was unable to complete your request.
Most common reasons for returning this error message are:
• File Upload Mode
When you upload Perl, CGI scripts via FTP you should use always ASCII mode. If you get "Error 500: Script Execution Failure" you should check whether your FTP client uses ASCII mode when uploading your scripts, because if it uses BINARY mode to upload your scripts they won't work on the server. The problem caused by wrong upload mode is associated with the way different operating systems handle the "end of line" character. Unix system uses a "line-feed" (LF), Windows uses a "carriage-return" (CR) and "line-feed" (LF) pair. That's why it is very important that you set the uploading mode to ASCII.
• File Permissions
When you upload scripts via FTP the file permissions are set by default to 755. If you get "Error 500: Script Execution Failure" you should check whether your scripts have 755 permissions. Otherwise your scripts have lower level of permissions and does not support execution upon request. The octal representation of the 755 permission is equal to the following textual format: -rwxr-xr-x
Most FTP clients support the CHMOD command which is used for setting file permissions. In case you have set improper permissions to your scripts, use your FTP client and set "Read, Write, Execute" permissions for the owner, "Read, Execute" permissions for the group and everyone else.
• Script Errors
This is the third well known reason for getting "Error 500: Script Execution Failure" upon execution of your scripts. Check your scripts for any obvious syntax or programming errors to make sure your code is not broken.
Remember: When you get a "Error 500: Script Execution Failure", you should always check for any file uploading problems (ASCII/BINARY) and the executable permission settings. Once those are checked and verified, it looks like there is a syntax error or some other problem in the script.
Ok i found out what happened... For some reason when you use 'icons' folder in the root server folder it calls for problem, it leads to some weird icons list and it blocks you from using your own images, i've changed its name and walla everything works as it should of work.