https://github.com/naftalib/news-feed
Get a blank page, dev tools gives this error on multiple resources;
Failed to load resource: the server responded with a status of 404 (Not Found)
In the end the problem was that the .gitattributes file was mistakenly deleted from the public folder when cleaning up files.
Ionic 3 - Google Maps working in browser running windows server , but not on ubuntu server.
Using :
ionic cordova build browser
I got browser build in ./platforms/browser/www
I moved this to /var/www/ which is document root for my apache web server running on aws ec2 ubuntu instance. Here, on this server I am not able to see google maps as shown below in Image 1
But it is working fine when I run this on windows server under xampp as shown below in Image 2
I have ran 'ionic cordova plugin add cordova-plugin-statusbar'
Still Console error shows:
Failed to load resource: the server responded with a status of 404 (Not Found)
cordova.js:1023 adding proxy for Badge
cordova.js:1023 adding proxy for Device
cordova.js:1023 adding proxy for SplashScreen
cordova.js:1023 adding proxy for StatusBar
StatusBarProxy.js:23 StatusBar is not supported
All Console errors :
HelveticaNeueLTStd-Roman.woff2:1 Failed to load resource: the server responded with a status of 404 (Not Found)
HelveticaNeueLTStd-Roman.woff:1 Failed to load resource: the server responded with a status of 404 (Not Found)
cordova.js:1023 adding proxy for Badge
cordova.js:1023 adding proxy for Device
cordova.js:1023 adding proxy for SplashScreen
cordova.js:1023 adding proxy for StatusBar
StatusBarProxy.js:23 StatusBar is not supported
HelveticaNeueLTStd-Roman.ttf:1 Failed to load resource: the server responded with a status of 404 (Not Found)
/config.xml:1 Failed to load resource: the server responded with a status of 404 (Not Found)
cordova.js:865 [Browser][cordova.js][xhrStatusChangeHandler] Could not XHR config.xml: Not Found
fail # cordova.js:865
SplashScreenProxy.js:163 [Browser][cordova.js][xhrStatusChangeHandler] Could not XHR config.xml: Not Found
(anonymous) # SplashScreenProxy.js:163
core.js:3688 Angular is running in the development mode. Call enableProdMode() to enable the production mode.
home.ts:31 Observable
home.ts:32 Observable
bootstrap.js:10 Ionic Native: deviceready event fired after 1112 ms
BX-PPTG-BJP_Calzone_WoodBoard.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
PR_Sausage_Pepperoni_Woodboard.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
BJP_FL_Cheesing.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Full-House-044-copy.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Good-Deal-002-copy.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Chicken-Med-010-copy.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Santa-Fe-052.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Natural-049-copy.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
BJP_FL_Jackpot.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
BJP_FL_BBQ_Square-1.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
BJP_Greek-Salad-CO-copy.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Salad-Spinach_Cherry.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Antipasto-Salad-Bowl.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
BJP_Southwest_Salad-Dressing.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
BJP_PR_Chicken_Caesar_Salad.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Garden-Salad.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
BJP_FL_Mediterranean_Salad.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
BJPCheeseBread.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
BonelessWings_Hot.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
BJP_FL_Wings.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
AllBrands_CinnamonSticks.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
BlueBellIceCream.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
soda.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
StatusBarProxy.js:23 StatusBar is not supported
logo.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
polyfills.js:2 [Deprecation] getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS.
n # polyfills.js:2
geolocation-map.ts:663 PositionError
Please let me know what is missing as I am very new to Ionic.
I have deployed my shinyapp over digital ocean. I use the rhandsontable among other libraries. Since yesterday, I am seeing the following error on my browser console:
Wed Jun 15 2016 21:11:08 GMT+0200 (Romance Daylight Time): Connection opened. http://example.com/Main/TerminalNG2/
http://example.com/Main/TerminalNG2/handsontable-0.24.3/handsontable.full.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://example.com/Main/TerminalNG2/rhandsontable-0.3.1/rhandsontable.css Failed to load resource: the server responded with a status of 404 (Not Found)
Please help me resolve the issue
Regards,
SD
To be clear, the debug toolbar DOES appear. My problem is that when I enable the Debug Toolbar, all my javascript and css files fail to load.
My page loses all formatting but does still load the content. I am using chrome, which under the console prints something like this:
Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/stylesheets/loggedin.css?h=201e99 Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/stylesheets/estimates.tabs.css?h=64c8f9 Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/js/jquery.console-log.js Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/theme/jquery-ui.custom.css Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/js/jquery-ui-timepicker-addon.js?h=7e5e4a Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/js/jquery.if.min.js?h=e69918 Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/js/base.js?h=4b783f Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/stylesheets/estimates.summary.show.css?h=0dd5d5 Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/js/jquery.floatThead.min.js?h=7f4ca5 Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/stylesheets/reset.css?h=fbd5ac Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/js/estimates.section.sortable.js?h=2ea052 Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/stylesheets/loggedin.css?h=201e99 Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/stylesheets/estimates.tabs.css?h=64c8f9 Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/stylesheets/estimates.summary.show.css?h=0dd5d5 Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/stylesheets/reset.css?h=fbd5ac Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/stylesheets/base.css?h=fcefb2 Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://127.0.0.1:8000/static/theme/jquery-ui.custom.css Failed to load resource: the server responded with a status of 404 (NOT FOUND)
I am using debug_toolbar 1.3.2, django1.5.0 and python 2.7.6
My project structure has
project_dir
project
settings
settings.py
static
images
js
scss
stylesheets
In my settings file:
DEBUG = True
DEBUG_TOOLBAR = True
#....middleware
#....other Installed apps
cd_up = lambda x: os.path.split(x)[0]
SETTINGS_DIR = dirname(os.path.abspath(__file__))
APP_DIR = cd_up(SETTINGS_DIR)
PROJ_DIR = cd_up(APP_DIR)
MEDIA_ROOT = '/tmp'
MEDIA_URL = ''
STATIC_URL = '/static/'
STATIC_ROOT = '{}/static/'.format(APP_DIR)
if DEBUG_TOOLBAR:
INSTALLED_APPS += ('django.contrib.staticfiles','debug_toolbar',)
MIDDLEWARE_CLASSES += debug_toolbar.middleware.DebugToolbarMiddleware',)
INTERNAL_IPS = ('127.0.0.1',)
DEBUG_TOOLBAR_PANELS = (
#'debug_toolbar.panels.version.VersionDebugPanel',
#'debug_toolbar.panels.timer.TimerDebugPanel',
#'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
#'debug_toolbar.panels.headers.HeaderDebugPanel',
#'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
#'debug_toolbar.panels.template.TemplateDebugPanel',
'debug_toolbar.panels.sql.SQLDebugPanel',
#'debug_toolbar.panels.signals.SignalDebugPanel',
#'debug_toolbar.panels.logger.LoggingPanel',
)
Naturally I cannot send any ajax request and setting DEBUG_TOOLBAR to false resolves all issues.
This is a condensed version, but if any other information is needed I'll update. Sorry, I'm still kind of new to SO. Thanks
UPDATE:
The 404 errors appear when running ./manage.py runserver --insecure
Otherwise the resource fails with a message of net::ERR_NETWORK_CONNECTION_RESET
I am not sure what is happening, but here are a few points to check:
When DEBUG_TOOLBAR is false, is django.contrib.staticfiles in INSTALLED_APPS? If it was added, this line
INSTALLED_APPS += ('django.contrib.staticfiles','debug_toolbar',)
can cause a duplicate app name. It should not cause any problem, but you can try removing the duplicate.
Are you sure DEBUG is set to True? When DEBUG is False, the development server refuse to serve static files (CONNECTION RESET?), and if you add --insecure option, it serves static files. This is like what you described.
Have you overrided the url mapping of "/static/" in urls.py?
Are you starting this server in a virtual machine? If so, you can try starting your server with:
python manage.py runserver 0.0.0.0:8000
and add your virtual machine's IP addresses to INTERNAL_IP.
I think this happens when you are using a virtual environment. The problem is that Django packages are installed there and the project can't access the files. You can fix that by running (based on your python version) python3 manage.py collectstatic in the console. This is how I fixed this problem on my end. Hope it helps your case
I've a django project on heroku and amazon s3. I'm using django 1.4.2 and django-cms 2.3.4
My problem is that i can't edit or add any plugins to pages.
Yesterday it works perfect but after I have changed a few things in a textfield it all went wrong...
The problem with the textfield is fixed now but i still can't edit/add any plugins. the only things I know are the following error-messages:
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Uncaught ReferenceError: cms_plugin_editor_jQuery is not defined xy.herokuapp.com:396
Uncaught TypeError: Cannot call method 'get' of undefined change_form.js:48
can anyone help me please?
thank you
I had the same problem. Spend 2 hours trying to solve it the sane way. Haven`t found the answer.
I was at app rev 33. I have reverted to 32 version at heroku website. It worked there. Reverted back to 33 and it also worked.
Maybe it has something to do with heroku.
Check to see that you are not running into an issue with CSRF middleware not being loaded. The CMS expects it in the admin and will generate this error when it is not available.