Jump to content

sudodo

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by sudodo

  1. @szabesz I've installed LAMP already - this is (i think) about the interaction between PW and the server... or something along those lines. @thetuningspoon no worries - i was just reading those instructions then they vanished
  2. @renobird no problem It seems i haven't been prepared! If you could link me to a suitable guide on what to setup though that would be appreciated, as I've never actually setup a database before D: Then I can try with the details made. BTW - I can't launch mysql from the command line on the server unless I use sudo, I'm not sure if this means anything or not. Thanks
  3. @renobird from the page "If the database does not exist, we will attempt to create it", this implies that it should work? And in the setup guide id didn't go through setting up a database for use with processwire I don't think. OK cool though - so I need to create a database (anything specific about it?) @LostKobrakai yes this is what i thought... So this access is a problem then isn't it? I don't know why the access isn't there? I've followed the guide, is there something that I should check here? Thanks
  4. i've done nothing except setup LAMP then go through the processwire install up to this point. I thought this would setup the db, I can't find a guide on this part. I don't know what these errors mean. I don't know if this is useful
  5. @thetuningspoon no i didnt - i installed mysql on the server etc and set a password when I did that, but I've not set one up for the PW install. I thought that this page is meant to handle that?
  6. @Mike Rockett thanks - I don't even know if the DB exists yet - shouldn't it create it if it doesn't? I should just be able to enter some random name for the DB Name field and PW will set it up? That's not working... thanks
  7. @pmarki thanks - i'm not sure how to do this though? AFAICT the local host and port should be correct? http://imgur.com/sJHp186 I can't access mysql on my server just as the user... but I can access it if I use sudo. http://imgur.com/a/7blve
  8. 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.
  9. yes - but if i set permissions to 660 it doesn't work /site/config.php must be writable. Please adjust the server permissions before continuing.
  10. @szabesz thanks - i'm still not sure though. Because the permissions are not related to user or group it's the 'other' it that makes the difference to me. So If i have permissions set to chmod 006 config.php It works alright, but this isn't what it should be i think thanks
  11. 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
  12. adrian just read it this command returns ``` geot@ubuntu-512mb-nyc3-01:/var/www/html$ php -i | grep -i --color gd /etc/php/7.0/cli/conf.d/20-gd.ini, gd GD Support => enabled GD headers Version => 2.1.1 GD library Version => 2.1.1 gd.jpeg_ignore_warning => 0 => 0 ``` If there's any other info i can give to make this post more complete just say. Otherwise this seems to be resolved now http://imgur.com/a/4vrPT
  13. Edit - this is sorted now. I think the restart was what helped
  14. > Did you restart apache after running apt-get? No, I've just run sudo systemctl restart apache2 though. > What about the php5-gd package? I'm not sure - I'm running php7 so I'm not sure why I would want this package? If I try and install this using `sudo apt-get install php5-gd` I get an error as follows though ``` Reading package lists... Done Building dependency tree Reading state information... Done Package php5-gd is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'php5-gd' has no installation candidate ``` cheers
  15. 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
  16. thanks Robin - I've sorted it now and I plan on updating this post.
  17. 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
×
×
  • Create New...