#1 2016-07-14 18:02:12

Deivid
Member
Registered: 2016-07-11
Posts: 37
Website

[solved] All media from admin panel just vanished

Soo i was just upgrading some admin panel and now  if i insert in folder any image in media section after pressed  select item it boom discapears. on cms it wont show the img on media tab BUT on site  they are shown. So how to tix it anyone knows? (just i think that i messed up in themes->admin)

Last edited by Deivid (2016-08-01 11:20:28)

Offline

#2 2016-07-14 20:36:20

adaliszk
Ionize Friend
From: Germany
Registered: 2010-09-20
Posts: 397
Website

Re: [solved] All media from admin panel just vanished

Please open your dev tools and see the network requests, there shoud be an admin/media/get_media_list request, check the output of that.


Webdeveloper, Programmer, Application developer, Ionize friend
@adaliszk

Offline

#3 2016-07-15 09:17:44

adaliszk
Ionize Friend
From: Germany
Registered: 2010-09-20
Posts: 397
Website

Re: [solved] All media from admin panel just vanished

... Open your admin,  open dev tools in your browser and switch to the network request panel. After that click on your page/article where the media's missing. Find the admin/media/list request and check the response there, if there no error change the index php environment to development.

The list request should be a JSON,  if anything others are in that response that will generate a parse error in console. Most of the cases a php error cause the empty or not JSON response and without checking the actual response I have no clue what's happening.


Webdeveloper, Programmer, Application developer, Ionize friend
@adaliszk

Offline

#4 2016-07-15 10:21:34

Deivid
Member
Registered: 2016-07-11
Posts: 37
Website

Re: [solved] All media from admin panel just vanished

Well got 1 error

VM801:34 Uncaught TypeError: 
Cannot read property 'addEvent' of null(anonymous function) @ VM801:34
n.exec @ mootools-core-1.4.5-full-nocompat-yc.js:89
onSuccess @ content.js:426
(anonymous function) @ mootools-core-1.4.5-full-nocompat-yc.js:122
(anonymous function) @ mootools-core-1.4.5-full-nocompat-yc.js:33
each @ mootools-core-1.4.5-full-nocompat-yc.js:40
fireEvent @ mootools-core-1.4.5-full-nocompat-yc.js:122
i.extend.$owner @ mootools-core-1.4.5-full-nocompat-yc.js:114
onSuccess @ mootools-core-1.4.5-full-nocompat-yc.js:436
i.extend.$owner @ mootools-core-1.4.5-full-nocompat-yc.js:114
success @ mootools-core-1.4.5-full-nocompat-yc.js:436
i.extend.$owner @ mootools-core-1.4.5-full-nocompat-yc.js:114
onStateChange @ mootools-core-1.4.5-full-nocompat-yc.js:434
i.extend.$owner @ mootools-core-1.4.5-full-nocompat-yc.js:114

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations