Search

I ended up using this:

list.click(function(ev){ $(“body>form”).attr({style:”“}) });

But couldn’t pinpoint the cause. In any case it’s an toggle effect after each click on a mediathek item, expanded or not.

Is there anybody who can confirm this bug? I currently don’t have a plain version 2.0.5 installed and I can’t reproduce this at the moment but I will test this issue as soon a possible.

just figured this issue out..i didn’t have the “allow multiple” checked! so stupid haha. though I’m moving over to the subsection manager now, but nice to have figured out why this was happening!

I’ve run into a bit of an issue:

I’m starting a new site fresh with version 2.0.8 RC2 and I’ve set-up a section for portfolio images using Mediathek.

I set it as I’ve always set it up, but now Mediathek won’t “behave” and I run into two issues around of the same problem:

  1. When I first create an entry, the UI from Mediathek doesn’t appear see attachment symphmediathekerror01.jpg
  2. I can force the UI to appear if I save the entry, but when I click to “Create New”, the UI to upload an image never appears - the loading graphic just continually rotates see attachment symphmediathekerror02.jpg

Solutions?

Attachments:
symph_mediathek_error02.jpg and symph_mediathek_error01.jpg

Are you using the latest Mediathek version?

Do you get any errors in your console?

Hey Nils,

I was using the latest version, so 2.0.5.

I would check, but I’ve already gone back to retrace my steps and seemed to have resolved the issue.

I went back to install .7 and then laid .8 RC on top of that. It seems to resolved the issue.

Hey Nils, I’m getting the following error and brand new fresh install of 2.0.8RC2…

If I install the extension, when I try to access the preferences page in the admin area, I get the following error.

Cannot request a page callback without first specifying the page.
/home/user/site/symphony/lib/core/class.administration.php line 96

91      }
92      
93      public function getPageCallback($page=NULL, $update=false){
94          
95          if((!$page || !$update) && $this->_callback) return $this->_callback;
96          elseif(!$page && !$this->_callback) trigger_error(__('Cannot request a page callback without first specifying the page.'));
97          
98          $this->_currentPage = URL . preg_replace('//{2,}/', '/', '/symphony' . $page);
99          $bits = preg_split('///', trim($page, '/'), 3, PREG_SPLIT_NO_EMPTY);
100     

If I uninstall mediathek, this error goes away when I access the preferences page.

Any ideas on what could be causing this?

I’m pretty sure it’s the same bug that crashed the preferences when using the Subsection Manager. Have a look at the CacheLite thread that mentions the fix in one of the last posts:

http://github.com/nilshoerrmann/subsectionmanager/commit/d8002f58a1b7be3ee52d2c1e8ec102b3de4ec024

I’ll take a look at it. Thanks Nils. I’ll report back what I find. It’s late here in Dallas, so I’ll probably wait until the late morning to look at this. Thanks again for your help.

Nils - sick extension, bro! Thanks for this!

You’re welcome.

Nils,

I am running into the same issue that PMADesign is describing. I am using a fresh install of Symphony 2.0.7 (cloned from github) and Mediathek 2.0.5 (setup as a git submodule). The Mediathek UI only shows up when I have saved the Entry I am working on weather it is brand a brand new entry or and existing entry. The UI then shows up when /saved/ is added to the end of the URL, but I can’t create a new entry for it. A similar thing also happens with your Date/Time extension in the same setup.

With Firebug there are a bunch of Warnings in “Strict Warning” Mode. The is a GET 301 Error from jquery

http://localhost/work/Freelance/CM/CMS/symphony/ajax/translate/?Add+item=false&Remove+item=false

jquery.js (line 126)

Host    localhost
User-Agent  Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 FirePHP/0.4
Accept  application/json, text/javascript, */*
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive  115
Connection  keep-alive
Content-Type    application/x-www-form-urlencoded
X-Requested-With    XMLHttpRequest
Referer http://localhost/work/Freelance/CM/CMS/symphony/publish/events/edit/77/

Then further down I am getting

anonymous function does not always return a value

http://localhost/work/Freelance/CM/CMS/extensions/mediathek/assets/mediathek.js

Line 599

and

anonymous function does not always return a value

http://localhost/work/Freelance/CM/CMS/extensions/datetime/assets/international/datejs.en.js

Line 115

and

string is undefined

http://localhost/work/Freelance/CM/CMS/symphony/assets/admin.js

Line 46

and a couple of errors similar to this

reference to undefined property Symphony.Language.DICTIONARY[search]

http://localhost/work/Freelance/CM/CMS/symphony/assets/admin.js

Line 36

After spending some time with creating the bug report I tried just replacing admin.js in /site-root/symphony/assets/. Once I did that it seems to work just fine. So, it appears to be and issue with the difference between 2.0.7’s admin.js and 2.0.8RC3’s admin.js

It’s a known bug in Symphony 2.0.7 which has been fixed in the official download available on this site.

Okay. Sorry that I created a huge bug report on it.

At least it is in the thread now for anyone else who runs into that issue.

Over the last months I have been working on Subsection Manager which is the successor of Mediathek and which is made for Symphony 2.1 and newer. It features an improved interface as well as inline editing and comes with an upgrade script that automatically replaces all Mediathek fields with the Subsection Manager.

With the release of Subsection Manager 1.0 the development of Mediathek will be ceased. Thanks for all your feedback and thanks for using Mediathek!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details