WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<?php$page_id = 4;require("../config.php");require(WB_PATH."/index.php");?>
I scanned your site briefly.I noticed one thing:PS: Just I checked your config.php. Following changes must be made:define('WB_URL', 'http://www.spirit-fm.ca/2');define('WB_URL', 'http://www.spiritfm.ca/2');define('ADMIN_URL', 'http://www.spirit-fm.ca/2/admin');define('ADMIN_URL', 'http://www.spiritfm.ca/2/admin');Swap red for blue and your site again will work fine.
You can find the link at http://www.spiritfm.ca/2/admin/login/index.phpForgotten your details?to have a new password sent to you.
This is good news.But maybe they will talk to the owner of the website about the necessary upgrade. The used php- version 5.6 is not up to date for a very long time, see:https://www.php.net/supported-versions.phpThe WebsiteBaker version is the same and there were enough security reasons why we just released version 2.13 for download.A detailed guide to go in the 1st step to the WB version 2.8.3 can be found here:https://forum.WebsiteBaker.org/index.php/topic,23412.msg158494.html#msg158494After that you can upgrade to the current WB version 2.13. The php version must be at least 7.3, we recommend php 7.4.The instructions for this upgrade can be found in the folder /DOCU in the unpacked version 2.13.I would test the upgrade if possible with a 1:1 copy in a subdomain, we can also offer help here.Translated with www.DeepL.com/Translator (free version)
ONE MORE QUESTION?http://www.spiritfm.ca/2/pages/news.phpI can't find where to access the News scroller to edit the content. We're using News module v3.5 but I don't remember how to display those News in the news ticker on the right of the page. I'm confused...
And finally, when I go to Media and click on any of the items, I get this error message:Not AcceptableAn appropriate representation of the requested resource could not be found on this server.Why?
On the website, it looks like current contributions also run through on the right. To me it looks like there is an automatism built into the template that does this.
Quote from: styzer1137 on March 10, 2021, 07:25:21 PMAnd finally, when I go to Media and click on any of the items, I get this error message:Not AcceptableAn appropriate representation of the requested resource could not be found on this server.Why?Which file extensions are affected, or are they all?We eventually need admin access to have a look at it live on their server. This please by pm to me
<marquee direction="up" onmouseover="this.stop()" onmouseout="this.start()" scrolldelay="0" scrollamount="2.5" height="230"><div class="news" style="width:240px;margin-left:20px;margin-bottom:20px;margin-top:0px;background:url(<?php echo TEMPLATE_DIR; ?>/images/news.jpg) no-repeat;"><?phpif (function_exists('displayNewsItems')) { displayNewsItems( $group_id = 0, $max_news_items = 5, $max_news_length = 55, $display_mode = 5, $lang_id = 'EN' $strip_tags = true, $allowed_tags = '', $custom_placeholder = false, $sort_by = 1, $sort_order = 1, $not_older_than = 0 );}?></div></marquee></div>
$sort_by = 1,
$sort_by = 3,
For all interested readersWe copied the website 1:1 on our test server and found out the following.Quote from pm:On our server there are no problems with the media management, all subfolders can be opened and operated without problems.You can test it yourself on our server. So this problem has nothing to do with WebsiteBaker and will be on your server.
The news display on the right side is controlled by this entry in the index.php in the template directory /templates/webarte-playercontrolledsearch for:Code: [Select]<marquee direction="up" onmouseover="this.stop()" onmouseout="this.start()" scrolldelay="0" scrollamount="2.5" height="230"><div class="news" style="width:240px;margin-left:20px;margin-bottom:20px;margin-top:0px;background:url(<?php echo TEMPLATE_DIR; ?>/images/news.jpg) no-repeat;">and change the entry [code]$sort_by = 1, to Code: [Select]$sort_by = 3, After that the news from news will be included in anynews. It will always show the latest news, no matter if they are written in VIDEOS or in News.
<marquee direction="up" onmouseover="this.stop()" onmouseout="this.start()" scrolldelay="0" scrollamount="2.5" height="230"><div class="news" style="width:240px;margin-left:20px;margin-bottom:20px;margin-top:0px;background:url(<?php echo TEMPLATE_DIR; ?>/images/news.jpg) no-repeat;">and change the entry [code]$sort_by = 1,
Interesting, can I ask which version of PHP you guys are using on the server?
► However - I notice that the news items on the scroller are pulled from BOTH Videos page, AND News. It could be OK IF... ▼
Quote► However - I notice that the news items on the scroller are pulled from BOTH Videos page, AND News. It could be OK IF... ▼ About the logic of anynews as I understood it, I don't use the tool myself!the snippet "AnyNews" doesn't distinguish where a "News" is located. in the database every "News" gets a consecutive ID no matter on which page with the module News it is created.In the template it is set so that the 5 most recent news IDs are displayed on the right side.Your two pages "VIDEOS" and "News" are both created with the "Module News". And from both pages now the 5 most current IDs are displayed.So if there are more than 5 entries on the "News" page and there are no new entries on the "VIDEOS" page, the issue will be resolved over time.Translated with www.DeepL.com/Translator (free version)