Search the Community
Showing results for tags 'setup'.
-
Hi all, I've been practicing with Processwire. I was wondering at the moment what were the best modules to realize my project. I would like to ask your advice for the following problems: multi-language (for now i use: Languages Support, Languages Support - Fields, Languages Support - Page Names, Languages Support - Tabs) contact form (Form Builder?) form inside a product sheet (Form Builder?) seo tool for page (title, description, opengraph, json ld, ecc) meta data management for images (e.g.: image's tag "title" in the gallery developed with a Repeater) associations (intended as the best module to create associations for example between product and categories or tags) cache + css-js minify tool (ProCache ?) ps: I checked some posts in the forum but I found very old posts so I wonder if there are any new ones introduced over time. Thank you in advance, have a nice day!
-
I'm designing a portfolio website for a friend with a bit of p5. Adapting the css to all device formats and pixel density is driving me crazy so I'd like to use a CMS Website and sql database are hosted on the same domain at OVH When I try to set up processwire, I get this error message Here is the sql database I use (I have no idea if these informations are confidential) I understand this post might be cringeworthy as I'm completely noob to this domain, my apologies. Thanks a lot for your help
-
Hi, I'm trying to setup up ProceesWire for a site I am working on, and I'm having troubles with the Database section. I get these errors : Database connection information did not work. SQLSTATE[HY000] [1045] Access denied for user I also cannot connect to phpMyAdmin, Xampp is what I am using as my stack. None of these errors have occurred before which is annoying me to say the least. Help is appreciated ?
-
Note - I've not set this up, I'm not experienced, I'm probably omitting much relevant information as a result so this post will be a bit of a work in progress. The answer may be on the forum here - If it is I can't tell for lack of experience (I've looked). I cannot for the life of me get an install to work and I've tried a lot, and I've asked others who're also struggling but I'll try posting here before another CMS as I've heard it's nice. Info about the server : https://gist.github.com/65086fbc7b5dd03abd0f0461b9c0ec8b I'm using the `stable` version of Processwire. My `htaccess` file is working - you can test here http://rightangle.space/ and click on the admin page to see the internal server error. Here is the htaccess file https://gist.github.com/3b805b8ab3c7978aca90a6e39773da00 Here is the /etc/apache2/apache2.conf file https://gist.github.com/2b2f2518ce7df4af4739413bc967cf56 Here is the /etc/apache2/sites-enabled/000-default.conf file https://gist.github.com/400cc958ff32dfb6df80693fd8531f08 Here's the output of tree -fa /var/www/ https://gist.github.com/a3569becd9889b4b05c4f0d0a8a561d7
-
module Dev Module to setup Default "New PW"
[Code] Specialist posted a topic in Module/Plugin Development
Hi Folks, I am lost and stuck ! I like to setup several domains with ProcessWire - MultiLanguage. All Pages should have the same basisconfiguration and Fieldsets. Its a messy job to setup each domain manually, so my idea was to develop a module , which setup my basis templates + fields + fieldsettings (visuality / dependencies / fieldsets) automatically. But I have no idea how to start and what to start with. All modules I looked at, mostly do something for front-end jobs. But this is an install-module. How to create a module which: create fields and fieldsets and its dependencies (is there a cheatpage for all possibilities ?) create template Pages which implements above fields If someone could give me an easy implementationhint it would be sooooo nice. Maybe there is already something I could look at for learning. Thanks a lot Michael -- Using PW 3.0.62 -
Hi all, I got a Internal Server Error when accessing de /setup/fields in my back end... Also when i try to reach it through the page tree, i can't edit the 'fields' page, same error. I do modify a image field through the api, i don't know if that has something to do with it, below the code i use to upload an image through the api, I deleted the parts that are not important. If anyone can help me that would be great. To clarify; the code below works fine, my image and page is created as expected, the only thing is that I can't access my /setup/fields/ page in my CMS anymore due to the Internal Server Error. <?php if($input->post->submit) { $photoPage = new Page(); // create new page object $photoPage->template = 'photo'; // set template $photoPage->parent = wire('pages')->get('/foto/'); // set the parent $photoPage->name = urlBuilder($input->title_photo); // give it a name used in the url for the page $photoPage->title = $input->title_photo; // set page title (not neccessary but recommended) $photoPage->save(); // next: process photo upload // Set a temporary upload location where the submitted files are stored during form processing $upload_path = $config->paths->assets . "files/photos/"; // New wire upload $file_upload = new WireUpload('file_upload'); // References the name of the field in the HTML form that uploads the photo $file_upload->setMaxFiles(1); $file_upload->setOverwrite(true); $file_upload->setDestinationPath($upload_path); $file_upload->setValidExtensions(array('jpg', 'jpeg', 'png', 'gif')); // execute upload and check for errors $files = $file_upload->execute(); // Run a count($files) test to make sure there are actually files; if so, proceed; if not, generate getErrors() if(!count($files)) { $file_upload->error("Sorry, but you need to add a photo!"); return false; } //success //echo 'photos stored';exit; $photoPage->save(); //$session->redirect($locationPage->url); } else { ?> <section class="add-location"> <div class="container"> <div class="row"> <div class="col-xs-12"> <h2>Spot toevoegen</h2> <form id="add-form" action="" enctype="multipart/form-data" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $max_file_size; ?>" /> <div class="col-xs-12 col-md-6"> <label for="fileselect">Upload jouw foto:</label> <p> <input type="file" name="file_upload" id="file_upload" accept="image/*" class="inputfile" /> <label for="file_upload"> <span></span> <strong><i class="fa fa-upload" aria-hidden="true"></i> Kies je foto…</strong> </label> </p> </div> <input type="submit" name="submit" value="Upload" /> </div> </form> </div> </div> </div> </div> <?php } } include('./includes/foot.php');?>
-
Hi, I'm still subscribed to Carl Alexander's blog, which I do not read too often, but his bard new article might be interesting for web developers, especially for those working on a Mac. As he writes: "This article goes through the entire process of setting up my new MacBook Pro. It's pretty exhaustive because I talk about why I chose some of the tools that I'm using. I also go over some of the tools that I tried out and didn't end up using." https://carlalexander.ca/2016-macbook-pro-setup/
-
Hi, Just started using PW and really love it. I've started to create my own template and was hoping I could get some advice on how best to go about my project. I've created a one page website which uses HTML, CSS and Javascript and want to convert this over for use with PW. The concept is fairly straightforward, it's a series of module blocks of HTML which I can move to alter my layout. Here's an example of the structure: Header Page1 Module1 Module2 Module3 Page2 Module1 Module2 Module3 Footer Page 1 and 2 are essentially <div> containers and each module is also contained in it's own <div>. My understanding of PW is the code for each module I've created would get wrapped into various custom Template Files which could then be positioned as required within the page Template. Is this correct? I plan to use this layout for multiple sites so I also wanted to know if it was possible to create the module blocks in such a way that they could easily be installed/ported across to another site? Any advice or links to creating this setup would be greatly appreciated.
- 13 replies
-
- single page
- one page
-
(and 3 more)
Tagged with:
-
Hello folks, a slightly embarrassing entry on this forum with a failed setup on Xampp - perhaps someone can point me in the right direction? I downloaded and installed Xampp for OS X and this seems to run fine - when I go to http://localhost the Xampp page loads nicely. I then went to the Bitnami Xampp page and downloaded the PW Module for OS X. I walk through the install and leave the path to the default /Applications/XAMPP, enter my OS X admin pass, it then says it will restart the installer, enter admin pass again, leave the path as default and when I click on next it simply does nothing, I can still change the path or cancel the install and that's it. Any clues as to what I'm doing wrong? Many thanks! Konrad
-
777 seems excessive - is there something that I'm missing here? This is a print out of the /site content; ``` total 28 drwxrwxr-x 6 geot geot 4096 Sep 9 13:30 . drwxrwxr-x 8 geot geot 4096 Sep 9 13:17 .. drwxrwxr-x 2 geot geot 4096 Sep 6 10:10 assets -rwxrwxrwx 1 geot geot 1548 Sep 6 10:10 config.php drwxrwxr-x 3 geot geot 4096 Sep 6 10:10 install drwxrwxr-x 2 geot geot 4096 Sep 6 10:10 modules drwxrwxr-x 5 geot geot 4096 Sep 6 10:10 templates ``` I'm sure that I shouldn't have to have permissions so high, but I'm pretty new to this. Here's a shot of the setup that I'm currently going through; http://imgur.com/a/WkhAX You can see that the error (for site/config.php) is no longer there with these permissions, but they still 'feel' wrong. Thanks
- 9 replies
-
- config
- site/config.php
-
(and 7 more)
Tagged with:
-
I'm not sure that I really follow this page; http://imgur.com/a/hCxqg I've created a database when setting up the server, so I'm presuming that this is what's being asked for here? The page linked for getting setup http://webdesign.tutsplus.com/tutorials/how-to-install-and-setup-processwire-cms--cms-25509 doesn't really mention anything about these fields. After trying to use the user name on the server, and the password that I entered when setting up the mySQL to start with I got the following error (so I had filled in "DB Name"={some name that I thought up }, "DB user" = {name of user on server}, "DB pass" = {pass i set up for mySQL}); http://imgur.com/a/cgFKq After this i tried using db name; {whatever} db user; {name of user on server} db pass; {password for user on server} This didn't work either, so I'm not sure what I'm meant to put here.
-
i'm getting a "Fail: GD 2.0 or newer" warning message from a processwire checks... I've tried to update with; `sudo apt-get install php-gd`. Refreshing the check message throws the same error up though... I'm running `PHP Version 7.0.8-0ubuntu0.16.04.2`. Here's a screenshot of the error that I'm referring to http://imgur.com/a/erDEk
-
Greetings ProcessWire People. I created a new PW installation today and all was going well until I tried to create new pages. The template drop-down menu refuses to populate. It lists the templates without a problem on the pre-existing pages when I look at their settings. Does this look familiar? I did need to edit the .htaccess file to allow for a custom RewriteBase. Best wishes, Jenn
- 2 replies
-
- templates
- troubleshooting
-
(and 2 more)
Tagged with:
-
Hi there I'm developing a PW site in conjunction with someone else who is offsite they are using their own local machine then I'm copying stuff over onto our main dev server via SFTP and phpmyadmin (ie I'm dumping a new copy of the site folder each time and then dropping all tables and importing new ones from his DB export) one issue I have run into this way - we have different login credentials setup and these keep getting nuked each time we do this is there anyway to maintain the current user credentials and still update the DB and site files? I can't even find where PW is storing user credentials (especially for the superuser) which would be a start
- 5 replies
-
- users
- development
-
(and 1 more)
Tagged with:
-
Hi, Just moved a dev PW install to another domain and found that 1) I couldn't move with it creating PHP errors with a straight move of files and DB. 2) I tried a fresh install updating the admin and then adding the new template but the admin -> setup -> template isn't displaying drop and drag handles so I ccant administrator it at all (see the attached image). any help would be amazing!