-
Posts
396 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Pixrael
-
HEEELP! This request was aborted because it appears to be forged!
Pixrael replied to Pixrael's topic in General Support
File permissions.. Tested Config false options... Tested (doing that backend don't load) All files exist, this was a working website, only stop after upgrade mysql from 5.1 to 5.5 to 5.7 I want to clear the modules cache, but i can't use your option Modules > Site @ the bottom "clear compiled files" because I can't login to admin.. Can I delete the folder in assets? -
HEEELP! This request was aborted because it appears to be forged!
Pixrael replied to Pixrael's topic in General Support
I reloaded a dump from the database that I saved the day before doing the upgrade to mysql and the frontend is now working, except FormBuilder forms .. but the backend keeps saying: This request was aborted because it appears to be forged. -
Hello everyone, I'm in an emergency. I upgrade mysql on my server and PW does not work anymore, any help is accepted because my company's page is broken now. The thread of this topic can be followed here: https://processwire.com/talk/topic/18917-heeelp-this-request-was-aborted-because-it-appears-to-be-forged/ The problem seems to be this: Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'ProcessWire\Database' does not have a method 'exec' in /var/www/vhosts/sitename.com/httpdocs/wire/core/DatabaseMysqli.php on line 38 Thank you in advance!
-
HEEELP! This request was aborted because it appears to be forged!
Pixrael replied to Pixrael's topic in General Support
I already read those topics ... Thanks very much Sergio -
HEEELP! This request was aborted because it appears to be forged!
Pixrael replied to Pixrael's topic in General Support
PW 3.0.79 ... I only upgrade mysql from 5.1 to 5.5 to 5.7 with SSH .. in each step I upgrade the databases too.. the previous Warning is very strange, after that no variable works.. seem that PW don't execute the queries to the database -
HEEELP! This request was aborted because it appears to be forged!
Pixrael replied to Pixrael's topic in General Support
the problem seems to be this: Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'ProcessWire\Database' does not have a method 'exec' in /var/www/vhosts/sitename.com/httpdocs/wire/core/DatabaseMysqli.php on line 38 -
HEEELP! This request was aborted because it appears to be forged!
Pixrael replied to Pixrael's topic in General Support
put back to the 3 php files at the root and get again the "Internal Server Error" -
HEEELP! This request was aborted because it appears to be forged!
Pixrael replied to Pixrael's topic in General Support
I get the same in the Backend.. and in the frontend this new message: Error: Uncaught Error: Call to a member function render() on null in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-jsonld.php:25 Stack trace: #0 /var/www/vhosts/sitename.com/httpdocs/site/templates/_main.php(30): include() #1 /var/www/vhosts/sitename.com/httpdocs/wire/core/TemplateFile.php(297): require('/var/www/vhosts...') #2 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render() #3 /var/www/vhosts/sitename.com/httpdocs/wire/core/WireHooks.php(714): ProcessWire\Wire->_callMethod('___render', Array) #4 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array) #5 /var/www/vhosts/sitename.com/httpdocs/wire/modules/PageRender.module(514): ProcessWire\Wire->__call('render', Array) #6 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent)) #7 /var/www/vhosts/sitename.com/httpdocs/wire/core/WireHooks.php(714): P (line 25 of /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-jsonld.php) This error message was shown because: Superuser has never logged in. Error has been logged. -
HEEELP! This request was aborted because it appears to be forged!
Pixrael replied to Pixrael's topic in General Support
nop.. it works? in the docs said that should be at least this folders: /site/assets/cache/ /site/assets/logs/ /site/assets/sessions/ ..and now in the root I have this files: active.php index.php installed.php should be delete too? .. i'll make a backup and delete this -
HEEELP! This request was aborted because it appears to be forged!
Pixrael replied to Pixrael's topic in General Support
---- I enable $config->debug and get this in the frontend: Notice: Undefined variable: sitesetup in /var/www/vhosts/sitename.com/httpdocs/site/templates/_init.php on line 51 Notice: Trying to get property 'template_product' of non-object in /var/www/vhosts/sitename.com/httpdocs/site/templates/_init.php on line 51 Notice: Undefined variable: sitesetup in /var/www/vhosts/sitename.com/httpdocs/site/templates/_init.php on line 54 Notice: Trying to get property 'template_article' of non-object in /var/www/vhosts/sitename.com/httpdocs/site/templates/_init.php on line 54 Notice: Undefined variable: sitesetup in /var/www/vhosts/sitename.com/httpdocs/site/templates/_main.php on line 13 Notice: Trying to get property 'meta_add' of non-object in /var/www/vhosts/sitename.com/httpdocs/site/templates/_main.php on line 13 Notice: Undefined variable: sitesetup in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-prefetch.php on line 2 Notice: Trying to get property 'prefetch_twitter' of non-object in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-prefetch.php on line 2 Notice: Undefined variable: sitesetup in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-prefetch.php on line 7 Notice: Trying to get property 'prefetch_facebook' of non-object in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-prefetch.php on line 7 Notice: Undefined variable: sitesetup in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-prefetch.php on line 14 Notice: Trying to get property 'prefetch_google' of non-object in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-prefetch.php on line 14 Notice: Undefined variable: sitesetup in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-prefetch.php on line 22 Notice: Trying to get property 'prefetch_amazon' of non-object in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-prefetch.php on line 22 Notice: Undefined variable: sitesetup in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-prefetch.php on line 29 Notice: Trying to get property 'prefetch_custom' of non-object in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-prefetch.php on line 29 Fatal error: Uncaught Error: Call to a member function render() on null in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-jsonld.php:25 Stack trace: #0 /var/www/vhosts/sitename.com/httpdocs/site/templates/_main.php(30): include() #1 /var/www/vhosts/sitename.com/httpdocs/wire/core/TemplateFile.php(297): require('/var/www/vhosts...') #2 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render() #3 /var/www/vhosts/sitename.com/httpdocs/wire/core/WireHooks.php(714): ProcessWire\Wire->_callMethod('___render', Array) #4 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array) #5 /var/www/vhosts/sitename.com/httpdocs/wire/modules/PageRender.module(514): ProcessWire\Wire->__call('render', Array) #6 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent)) #7 /var/www/vhosts/sitename.com/httpdocs/wire/core/WireHooks.php(714): P in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-jsonld.php on line 25 Error: Uncaught Error: Call to a member function render() on null in /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-jsonld.php:25 Stack trace: #0 /var/www/vhosts/sitename.com/httpdocs/site/templates/_main.php(30): include() #1 /var/www/vhosts/sitename.com/httpdocs/wire/core/TemplateFile.php(297): require('/var/www/vhosts...') #2 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render() #3 /var/www/vhosts/sitename.com/httpdocs/wire/core/WireHooks.php(714): ProcessWire\Wire->_callMethod('___render', Array) #4 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array) #5 /var/www/vhosts/sitename.com/httpdocs/wire/modules/PageRender.module(514): ProcessWire\Wire->__call('render', Array) #6 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent)) #7 /var/www/vhosts/sitename.com/httpdocs/wire/core/WireHooks.php(714): P (line 25 of /var/www/vhosts/sitename.com/httpdocs/site/templates/includes/head-jsonld.php) This error message was shown because: site is in debug mode. ($config->debug = true; => /site/config.php). Error has been logged. ---- and in the backend this: Field: Fieldtype 'FieldtypeMapMarker' does not exist Field: Fieldtype 'FieldtypeFontIconPicker' does not exist Field: Fieldtype 'FieldtypeRepeaterMatrix' does not exist Field: Fieldtype 'FieldtypeTable' does not exist Field: Fieldtype 'FieldtypeTextareas' does not exist ProcessWire: ProcessLogin: This request was aborted because it appears to be forged. DEBUG MODE BACKTRACE ($config->debug == true): #0 /var/www/vhosts/sitename.com/httpdocs/wire/modules/Inputfield/InputfieldForm.module(145): ProcessWire\SessionCSRF->validate() #1 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(383): ProcessWire\InputfieldForm->___processInput(Object(ProcessWire\WireInputData)) #2 /var/www/vhosts/sitename.com/httpdocs/wire/core/WireHooks.php(714): ProcessWire\Wire->_callMethod('___processInput', Array) #3 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\InputfieldForm), 'processInput', Array) #4 /var/www/vhosts/sitename.com/httpdocs/wire/modules/Process/ProcessLogin/ProcessLogin.module(165): ProcessWire\Wire->__call('processInput', Array) #5 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(380): ProcessWire\ProcessLogin->___execute() #6 /var/www/vhosts/sitename.com/httpdocs/wire/core/WireHooks.php(714): ProcessWire\Wire->_callMethod('___execute', Array) #7 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessLogin), 'execute', Array) #8 /var/www/vhosts/sitename.com/httpdocs/wire/core/ProcessController.php(244): ProcessWire\Wire->__call('execute', Array) #9 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(380): ProcessWire\ProcessController->___execute() #10 /var/www/vhosts/sitename.com/httpdocs/wire/core/WireHooks.php(714): ProcessWire\Wire->_callMethod('___execute', Array) #11 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessController), 'execute', Array) #12 /var/www/vhosts/sitename.com/httpdocs/wire/core/admin.php(113): ProcessWire\Wire->__call('execute', Array) #13 /var/www/vhosts/sitename.com/httpdocs/wire/modules/AdminTheme/AdminThemeDefault/controller.php(13): require('/var/www/vhosts...') #14 /var/www/vhosts/sitename.com/httpdocs/site/templates/admin.php(15): require('/var/www/vhosts...') #15 /var/www/vhosts/sitename.com/httpdocs/wire/core/TemplateFile.php(287): require('/var/www/vhosts...') #16 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render() #17 /var/www/vhosts/sitename.com/httpdocs/wire/core/WireHooks.php(714): ProcessWire\Wire->_callMethod('___render', Array) #18 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array) #19 /var/www/vhosts/sitename.com/httpdocs/wire/modules/PageRender.module(514): ProcessWire\Wire->__call('render', Array) #20 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent)) #21 /var/www/vhosts/sitename.com/httpdocs/wire/core/WireHooks.php(714): ProcessWire\Wire->_callMethod('___renderPage', Array) #22 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\PageRender), 'renderPage', Array) #23 /var/www/vhosts/sitename.com/httpdocs/wire/core/WireHooks.php(808): ProcessWire\Wire->__call('renderPage', Array) #24 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\Page), 'render', Array) #25 /var/www/vhosts/sitename.com/httpdocs/wire/modules/Process/ProcessPageView.module(205): ProcessWire\Wire->__call('render', Array) #26 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(383): ProcessWire\ProcessPageView->___execute(true) #27 /var/www/vhosts/sitename.com/httpdocs/wire/core/WireHooks.php(714): ProcessWire\Wire->_callMethod('___execute', Array) #28 /var/www/vhosts/sitename.com/httpdocs/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessPageView), 'execute', Array) #29 /var/www/vhosts/sitename.com/httpdocs/index.php(55): ProcessWire\Wire->__call('execute', Array) #30 {main} I was using ProCache too -
HELP! On my dedicated server CentOS 6.9 with plesk Onyx, I upgrade mysql from version 5.1 to 5.5 and then to version 5.7, as indicated, to not break the mysql tables. After taht the frontend continued to work, but the backend did not. The message came out: This request was aborted because it appears to be forged. Then I try all the steps from here: https://processwire.com/docs/tutorials/troubleshooting-guide/page2 Nothing! Later I use TRUNCATE in the tables caches and session_login_throttle as it says here: https://processwire.com/talk/topic/16592-this-request-was-aborted-because-it-appears-to-be-forged/ It was worse! because in the frontend now I have an "Internal Server Error" and in the backend the screen showed in the picture. Any idea???
-
CMS Critic Powered by ProcessWire (again) + Case Study
Pixrael replied to ryan's topic in News & Announcements
I agree, https://gtmetrix.com/reports/www.cmscritic.com/z8JiOUJr -
I really need something like that many times. Perhaps a partial solution is a module based on Textarea that the Inputfield Type is an HTML editor with design blocks. I tried to develop one but since I'm not a "real" programmer, I could not make much progress. Maybe someone who knows how to develop modules in Processwire can do it, it does not seem very complicated. It was based on GrapesJS http://grapesjs.com/ an open source Javascript library and it is very easy to include it in a project https://github.com/artf/grapesjs#usage. Here you can see a working example http://grapesjs.com/demo.html, the library exports the HTML code that can be stored in the Textarea. You just have to include the CSS that the frontend uses to make it work.
-
Doesn't work for me .. and this doesn't work either: <img src='<?=$config->urls->templates."images/logo.png"?>'> /* or usign the url directly either */ <img src='http://www.domain.com/site/templates/images/logo.png'> Before work's and the path is correct because in the other templates prints well Everything happened after updating the module.
-
312 here! + 21 Last used modules!
-
The idea is get something simple to setup and simple to use.. the Matrix usually is complex to setup and fine tuned, and sometimes complex to the user, mainly when have depth.. and near to impossible to reuse it in other projects.. ah! and is not cheap too.. I was thinking in something simple and useful for build basic landing pages, ..easy to copy to another projects.. sometimes when we have many pages with crazy designs that not fit the regular "basic-page" (main+sidebar) or similar, we start to fill the site folder with several templates files.. but it's only and idea to refresh.. for me make sense.. or perhaps having a Textarea that store unrestricted HTML and can be edited with something like this http://grapesjs.com/
-
Here we go .. The basic idea is an textarea fieldtype with a function somewhat similar to an website blocks builder, I know that currently this can be achieved using a Repeater, Repeater Matrix or Hanna Code, but perhaps this way would be easier for the developer/user and more flexible. The idea came after seeing this plug-in: https://formbuilder.online/ ... and the implementation could be based on these modules: https://github.com/blynx/TextformatterFunkyFunctions from @blynx https://github.com/outflux3/SettingsFactory from @Macrura https://github.com/Toutouwai/HannaCodeDialog from @Robin S Based on TextformatterFunkyFunctions we would have a folder for this type of field with the design blocks that we want to make available to the user: These block files would have main three sections: The Settings section for the Block UI could be based on the SettingsFactory code. A mockup of the user interface of the field would be: It would have drag and drop to add and sort the blocks, and display the generated Form by each block in order to enter the block data The field will have three display modes in the backend: BUILD - the first where field content is configured in visual and interactive mode: CODE - The second is the "real" configuration of the field as required by TextformatterFunkyFunctions and is the data that is stored in the Processwire DB. This mode could be hidden for some users: PREVIEW - The third one is the visualization of the field output, it could be done using Ajax requests to the module into an iframe or inserting the response in a DIV using jquery. Maybe some code of this module will work: http://modules.processwire.com/modules/fieldtype-runtime-markup/ from @kongondo I hope that I have been able to explain the idea correctly, but I can not wait for it to be inspired to make a perfect explanation, .. waiting for that moment and it has been in my trunk for a long time .. It's just an idea to debate, maybe it will be an inspiration for other things, or for someone who wants to develop it (as a commercial module or not)
-
some time ago I has an idea to mix some modules and codes that we have in our modules "eco-system" to do something similar.. soon I'll post here my idea
-
Good luck with that!
- 10 replies
-
- 1
-
- javascript
- jquery
-
(and 1 more)
Tagged with:
-
something interesting to make the backend faster without modifying everything: https://m.signalvnoise.com/stimulus-1-0-a-modest-javascript-framework-for-the-html-you-already-have-f04307009130 code: https://github.com/turbolinks/turbolinks https://github.com/stimulusjs/stimulus
-
in the jquery function you can use this: $("# dc-container").html("loaded:" + pageData + "(by jquery ajax)"); instead of document.getElementById("dc-container").innerHTML = 'loaded:' + pageData + '(by jquery ajax)'; to be consistent if you already use the library
- 10 replies
-
- javascript
- jquery
-
(and 1 more)
Tagged with:
-
@bernhard Incredible results! Can you summarize which option you used finally?
-
Possible to layout pages this way? (Page Tree Q)
Pixrael replied to joer80's topic in General Support
try this https://modules.processwire.com/modules/template-decorator/ -
..but maybe you tell to us.. ..