ErrorException Cannot redeclare class Concrete\Package\MolliePlugin\Controller in Concrete5 website - exception

I'm new here, so I hope I'm doing this right. I inherited a portfolio of websites and one is a Concrete5 website. Unfortunately I don't have much experience with Concrete5 and I directly start with a site with an issue :(.
When I go to https://www.example.nl/index.php/dashboard/extend/install I get the following error.
Whoops \ Exception \ ErrorException (E_COMPILE_ERROR)
Cannot redeclare class Concrete\Package\MolliePlugin\Controller
Image of the exception
I hope that someone can give me some guidence on this.
Thanks

Okay I found the issue when looking in cPanel: there was mollie_plugin and mollie_plugin_not_working. I guess that my predecessor had an issue and renamed the folder and added the extension again.

Related

What do I add to requirements.txt for font awesome (font-awesome)

SO yeah I'm pretty new to this I used font-awesome for some icons (free version) but after i tried to deploy it to heroku it got some errors, I highly suspect that it is due to requirements.txt, can anyone tell me what I should write in there? I tried font-awesome-free==16.0 but that didnt really work...
Kind of this requirements.txt. You can create
Flask==0.8
Jinja2==2.6
Werkzeug==0.8.3
certifi==0.0.8
chardet==1.0.1
distribute==0.6.24
gunicorn==0.14.2
requests==0.11.1
So that it could fetch or default will work. This is an example

Got css problem when implementing angular calendar

I'm referred to this thread : all is done.
But I got this bellow the table. It seems that the tag ng-template is not working correctly.
The problem was a css issue. I got as warning:
the stylesheet could not be loaded.
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/less/normalize.less
Also after clicking on the start date input text: I am getting this error:
ERROR DOMException: CSSStyleSheet.cssRules getter: Not allowed to
access cross-origin stylesheet
I can't figure it out. I don't now what I missed.
Could you please help me solving that issue?.
Thanks in advance.
it seems that you have to add the import #import '../node_modules/flatpickr/dist/flatpickr.min.css'; to your css file.
HTH.

getURL() in as2

Hello friends my code is too big u can download here zip file http://www.filefactory.com/file/6bvfmmx3zpet/n/New_folder_4_rar
i have downloded this code from internet .. this is working fine the problem is when this code get end then the web page jump to a URL i tried to put
getURL("http://www.adobe.com","_self");
but its not working may be i m not aware where to put this code .... plz help me
EDIT
you can read my code here .. jsfiddle.net/uM9zr
Thanks in advance
I cannot tell from your question whether you as using AS2 or AS3 as you mention both, but getURL is not supported in AS3:
ActionScript 3 - What happened to GetURL?
Try replacing "_self" with "_blank". This will open the link in a new tab, but should solve your problem of the URL not opening.
Also Mitch should read the title. AS2 was a quite obvious part of your question.

How can I figure out what this frontpage extension code is supposed to do?

I was asked to assist with troubleshooting a problem. Functionality on a site "stopped working" and I was asked to figure out what is wrong. The following is the error:
FrontPage Error.
User: please report details to this site's webmaster.
Webmaster: please see the server's application event log for more details.
On the page I'm seeing the following:
<!--webbot BOT="GeneratedScript" endspan --><form method="POST" action="../_vti_bin/shtml.dll/index.html" name="FrontPage_Form1" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" startspan
U-File="/results.csv" S-Format="TEXT/CSV"
S-Label-Fields="FALSE" B-Reverse-Chronology="FALSE" S-Builtin-Fields
S-Form-Fields="TYPE NAME ADDRESS CITY STATE ZIP "
U-Confirmation-Url="confirmation.html" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot
bot="SaveResults" endspan i-checksum="43374" -->
<div align="center">
...
I look at the directory structure and find that even after forcing display of hidden directories/files, _vti_bin is GONE. It's nonexistent. After a little research this leads me to believe that this code is using frontpage extensions, and they have apparently been removed. Does that look accurate?
I'm completely inexperienced with frontpage extensions. Is what this is doing is it's using another file called shtml.dll and calling it on the path /index.html, basically just doing a postback?
I'm looking at the webbot part which seems to be what it's trying to accomplish. Is it merely appending the form results to a CSV and that is all?
I see a few other bits like this but they all refer to validators which I should be able to handle in javascript just fine.
I ended up looking at the server configuration and finding that as far as the server was concerned, frontpage extensions were still installed. I then told it to re-install and in the morning it was working again.

What is VHTML? How it works? Where can I find information about it?

The code below continues many lines until it ends with a expected /veotherwise /vechoose. I started working on a development firm a little ago where they use this html version called vhtml. I have search the web but it brings different definitions for vhtml. I have seen some posts in Joomla about vhtml but they don't look like the code below. I was expecting to get a pointer on how to understand the language.
It looks very similar to normal html with even very similar commands, or maybe smalltalk. But I just can decipher it. Any help will be appreciated. Please post comments if you want more information.
<vechoose>
<vewhen criteria='isPortalEdit'>
widget: practices-landing-page
</vewhen>
<veotherwise>
<veinclude src='private/webportal/webtemplate-content.vhtml'>
<vesection name='content-body'>
<% // Determine portlet visibility %>
<vecalc expression='isEmpty = false' output='none' />
<vechoose>
<vewhen criteria='isEmpty'>
<veif criteria='portlet.ifEmptyDo == "Hide"'>
<script>getTag( 'portlet_<%=portlet.order%>' ).style.display = "none";</script>
</veif>
<veif criteria='portlet.ifEmptyDo == "Show Message"'>
<%#portlet.ifEmptyMessage%>
</veif>
</vewhen>
...
Managed to find this: http://vitrage.sibweb.ru/english/ Looks like it could be an Apache Module called VITRAGE. Not much available in English however so am really unsure if it's a match.
On reading the code sample you posted, it looks like a XML styled procedural language. Are you sure it's available elsewhere or perhaps something that was developed internally?
I think this is an internal language between to bring server side aspect to a display on the browser. I have been unable to find documentation on this language, and I don't think Vitrage explains it. The server uses coyote as web browser, tomcat as a servlet handler and java as the backend.
Any new information please post.