Exceptionz Project
Members-
Posts
23 -
Joined
-
Last visited
Everything posted by Exceptionz Project
-
Is it an alternative for you to set that variables in the .htaccess file ? <IfModule mod_php5.c> php_value upload_max_filesize 10M php_value post_max_size 20M php_value memory_limit 30M </IfModule>
-
If you describe your intention and explain the errors / troubles you are getting, we could help you more aimed.
-
Hi Joss, thank you for your post. I already have a wiki account. I want also begin with the content part (maybe with the categorization). Your ideas / categories etc. are a good starting point for the wiki
-
Hi Joss, thank you for this thread. I was also planning to contribute to this part of the project (as I mentioned in the thread "bookmarks"). I have also some change suggestions / improvement proposals. Maybe we could begin creating a roadmap for the wiki at the beginning of the next week?
-
Changing the way Pageimage renames resized files
Exceptionz Project replied to Nelson's topic in General Support
Providers are sometimes willful... I would try again to convince your provider to add your request as an exception since it is only 3-4 lines in the exceptions config file in mod_security. <LocationMatch /url/to/your/application/request> <IfModule mod_security2.c> SecRuleRemoveById IDHERE </IfModule> </LocationMatch> By the way; mod_security could be -if configured well- a very efficient application layer firewall for webhosts... So it is better not to deactivate it for the vhost, if you don't have any other firewalls/security solutions for your vhost.- 5 replies
-
- 1
-
- images
- forbidden access
-
(and 1 more)
Tagged with:
-
Changing the way Pageimage renames resized files
Exceptionz Project replied to Nelson's topic in General Support
It would be better to contact your provider to disable that rule (by ID) / add an exception / or adjust the rules for your host (for that specified false positive)... Some rule sets of mod_security (or other request filter / application layer firewalls) are producing false positives in such usage cases.- 5 replies
-
- images
- forbidden access
-
(and 1 more)
Tagged with:
-
I think you are looking after this:
-
Thanks for the information ryan. I think it is better in this case to fill, refill and reanimate the official wiki of this project.
-
OK. What do we wait for? I could help with if we could create a basic but structured roadmap with distribution of tasks for that project.
-
Fantastic to see that PW gets such triumphs
-
You think a categorised site with code solutions for problems which are already solved in this forum?
-
It is possibile with PW. You just need the user input from the select list and use the selectors listed here to code your own formular processing for customized search form: http://processwire.com/api/selectors/
-
You could use the count function: if(count($page->gallery)) { // here your code (for displaying h6 ...) } else { // ... } For more information look at here http://processwire.c...ypes/repeaters/ or here http://processwire.c...pi/arrays/page/
-
Did you read this thread? http://processwire.com/talk/topic/22-how-to-build-a-news-page/
-
I don't know if your intention was that one, but maybe you could create a new page (maybe with a template images/banners?) with only images as fields (or html codes for showing the image or maybe repeater) and load them at your wanted place. For this purpose, you could use something like this: <?=$pages->get("/your_central_image_page/")->image1?>
-
Integrating my design into Processwire
Exceptionz Project replied to labanino's topic in Getting Started
Following tutorial explains the first steps (as Pete mentioned it) http://processwire.com/talk/topic/693-small-project-walkthrough/ With only minimal changes at an existing design, you could start to use processwire... You need only to add some codes like... <?php echo $page->title; ?> <?php echo $page->body; ?> -
You could also use the following tutorial for the beginning: http://processwire.com/talk/topic/693-small-project-walkthrough/
-
Max file size for uploading a file?
Exceptionz Project replied to tinacious's topic in General Support
Regardless of whether handling this with processwire you should change your server variables to handle such a request. Your php.ini should be adjusted for it (at least): upload_max_filesize = 350M post_max_size = 350M And your apache should be configured too: memory_limit = 400M Update (thx Wanze) You should also adjust settings like max_execution_time max_input_time in your php.ini... I don't know if your clients host has such capabilities (-> memory limitations for such one vhost) but you should consider to convince your client to upload such files with ftp (not with http) and it is less error-prone for you and him with ftp... -
It seems to be that your hoster does not allow overrides for your webspace and it begins causing that error with the lines (root .htaccess of processwire) Options -Indexes Options +FollowSymLinks You should convince your provider to set the apache configuration for your webspace to override the options, the apache option AllowOverride should be at least FileInfo Indexes Limit or AllowOverride All
-
Phpmyadmin is the script for managing the mysql databases. You should find the logs in a place like /var/log/apache2/error.log etc...
-
Do you have access to the apache error logs of your server?
-
How to utilise "Field-Template Context"?
Exceptionz Project replied to homma's topic in API & Templates
A field is displayed in a frontend template in two ways: <?php echo $page->field_name; ?> Or (if supported by your server): <?=$page->field_name?> You should take a look at the following tutorial, which covers all of the first steps http://processwire.c...ct-walkthrough/ http://processwire.com/api/multi-language-support/multi-language-fields/ if($input->get->language) { // user clicked on a link to set the language $name = $sanitizer->pageName($input->get->language); $language = $languages->get($name); if($language) $session->language = $language->name; } if($session->language) { // language is defined in user's session $user->language = $languages->get($session->language); } -
If you mean the Django CMS that is built on the Django framework, you can find a good starting point for the comparison here: http://cmsmatrix.org/matrix/cms-matrix/processwire http://cmsmatrix.org/matrix/cms-matrix/django-cms Just compare them both in the matrix. It is the old versions of both systems, so processwire has some more features then showed on that table, but it is still a useful comparison. For the comparison of the Django Framework (not the CMS) you could use sites like http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks. And I think that the information page http://processwire.com/about/why/ contains some good arguments for convincing the clients...