Comments (11)
Are you getting a 404 response after form submitted ?
The ordering save process (when you click "Save changes") is performed using Ajax. If you are getting a page refresh after click the save button then is caused by some JS/broser problem. In that case I'll need to know which browser are you using in order to try to reproduce this issue.
from cms.
Yes, I was getting a 404 error in Chrome and Firefox on a Mac.
from cms.
I've just tested both browsers on Windows and all seems to work okay.
Could you try to determinate which is the JS error using FF's console ? because I have not a Mac OS right now to reproduce your environment.
from cms.
I won't be able to get to my environment until after the weekend. I will definitely take a look and respond asap though.
from cms.
Here is the error from FF:
"NetworkError: 404 Not Found - http://localhost/quickapps/quickapps/admin/menu/manage/links/main-menu"
Here is the error from Chrome console:
. POST http://localhost/quickapps/quickapps/admin/menu/manage/links/main-menu 404 (Not Found)
. f.support.ajax.f.ajaxTransport.sendjquery.js:4
. f.extend.ajaxjquery.js:4
. (anonymous function)main-menu:101
. f.event.dispatchjquery.js:3
. f.event.add.h.handle.i
from cms.
I think your QuickApps installation up to date ?
A similar issue was fixed here:
d8d05ec
Update your QuickApps
folder to the latest available according to your branch.
from cms.
Yes, my QuickApps installation is the most current 1.0. I just downloaded Friday.
I just want to say that I really like what you have done with QuickApps. Thanks.
from cms.
Thanks!,
Well the error message is really clear, the url "http://localhost/quickapps/quickapps/admin/menu/manage/links/main-menu" does not exists.
I assume that your QACMS installation is on your "quickapps" directory right? [1]
So the problem is the duplicated word in the url: /quickapps/quickapps/
Check the generated HTML code in your browser, and find the QuickApps.settings.url
JS variable:
Query.extend(QuickApps.settings, {
"url": "http://localhost/quickapps/quickapps",
...
if there is a double "quickapps" word means that somethings is wrong with the value of this JS variable (assuming [1]).
This JS variable is defined on QuickAppsComponent::prepareContent()
line 191:
(defined('FULL_BASE_URL') ? FULL_BASE_URL . $this->Controller->here : $this->Controller->here)
I believe that something in your enviroment is producing and incorrect value for this JS variable.
- What is the value of
$this->Controller->here
? - Is the constant
FULL_BASE_URL
defined ? its value ? - What value do you get from this:
env('HTTP_HOST')
?
from cms.
I opened up QuickAppsComponent.php.
Line 191 was this:
"url": "' . Router::url($this->Controller->here, true) . '",
Changed to:
"url": "' . (defined('FULL_BASE_URL') ? FULL_BASE_URL . $this->Controller->here : $this->Controller->here) . '",
Works now.
Thanks, sorry for any trouble.
from cms.
Great! :)
(I recommend you to update your QuickApps
directory)
from cms.
Will do and thanks for your help!
Really appreciate it.
from cms.
Related Issues (20)
- Call to undefined function Search\Engine\Generic\iconv() HOT 3
- Image upload no longer working HOT 4
- Call to function isAdmin() on null in .../cms/config/functions.php on line 410 HOT 5
- facing error 500 while installation HOT 5
- An Internal Error Has Occurred. (Behavior class TreeBehavior could not be found.) HOT 9
- Error 404 - Record not found in table "roles" HOT 5
- Stored Cross-Site Scripting (XSS)
- Fatal error: [BadMethodCallException] Method getParam does not exist HOT 3
- Error 500 after finished installing HOT 12
- Do you need Filipino Translation for your CMS? HOT 4
- CSRF issue that allows attacker to create an account HOT 2
- ListField error! HOT 5
- _urlMatch Region Block module HOT 3
- PDOException Field 'public_profile' doesn't have a default value HOT 8
- EntitiesTerms Table
- The eav_attributes table HOT 1
- CSRF issue that allows attacker to change the administrator password HOT 1
- Command Excution can allowed attacker excute command
- Command Excution can allowed attacker excute remote command HOT 1
- [File upload vulnerability] CVE-2019-19576 is exist in the code!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cms.