Site Crash

Permalink
Hello, I need urgent help. I made a "Advanced Block" edit to a YouTube video embed and simply added "?rel=0" to the end of the YouTube "source=" url and saved block. Now I can't log in or anything. Need help please.

Alright so I can login, however I cannot edit the Home page any more. All the sub-pages are accessible and editable but for some reason the Home page (most important) is not. I'm not sure what changed and can I view code changes outside the Concrete 5 interface. Example, I made edits to an Advanced HTML Block through the Concrete 5 Block interface, can I access these code changes outside the block element as I can't see the blocks anymore to edit them? Hope this makes sense.

1 Attachment

 
mbimedia replied on at Permalink Reply
Alright so I am logged in but can't view to edit or roll back pages that have issues. Is there another way to modify or roll back pages without actually visiting them. For example, can I view all edits made in any given day and remove any changes made on that day?
Gondwana replied on at Permalink Reply
Gondwana
You could see what your options are from the context menu in Dashboard's site map page.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
If you are sure it was the YouTube edit that caused your error..
You could look at the btYouTube table in the database and edit the table row to remove the offending code.
mbimedia replied on at Permalink Reply
I'm sorry, I wasn't clear. It wasn't the YouTube Video Block that I was using. It was an Embed as I needed the video to play in it's own window and at a specific size. Any other help would be greatly appreciated.
mbimedia replied on at Permalink Reply
Hello Gondwana, your right, I was able to navigate to the Site Map and see that there were versions there. However, after clicking on the version that I wanted and Approving it, I'm still getting the same issue. I've even gone to the extent of restoring from a backup on the server itself, still no help. Any other assistance would be a great help.
mbimedia replied on at Permalink Reply
So another correction, apparently I can get to all the sub pages via the site map and can edit them fine. It's just the Home page that I can't get to. I would just simply like to undo what was previously done but can seem to figure it out.
mbimedia replied on at Permalink Reply
So apparently the below code is where I'm getting the error.

// now we add in support for the links
      $text = preg_replace_callback(
         '/{CCM:FID_([0-9]+)}/i',
         function ($matches) {
            $fID = $matches[1];
            if ($fID > 0) {
               $f = File::getByID($fID);
               return $f->getURL();
            }
         },


Any ideas how to fix this issue.
mbimedia replied on at Permalink Reply
Below is the file where the error is being thrown.

D:\ENT\mbimedia\concrete\src\Editor\LinkAbstractor.php

I'm not sure why it's working on all other pages but not the home.