Jump to content

pwired

Members
  • Posts

    2,318
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by pwired

  1. Keeping the databases between local develop (laptop) and online production in correct sync is always a pain. Production databases change because of online: 1. visitor interaction with the websites 2. automatic updates 3. blogs 4. automated newsletters 5. guestbooks 6. online subscriptions 7. etc. These changes are not in sync with the local develop database. Because of this I have crashed a few websites in the past when syncing a local database with a production database that was online for a while. Would be good to solve this one day though. Read more here: http://processwire.com/talk/topic/1284-best-practice-for-staging-to-live-database-synchronization/ http://processwire.com/talk/topic/3229-version-control-for-mysql-via-git-hooks/
  2. pwired

    Book Recommendations

    C64 - ZXSpectrum - Amstrad , Atari, BBC. I liked the Zilog Z80A more than the 6502. Does anyone still remember the grundy newbrain ? I loved it ! http://www.pinterest.com/pin/125115695868553811/ Oh man those where the days in the 80's with basic/assembly and cassette tapes. (and house music !!)
  3. For what it is worth: after digging half a day looking for the cause of the problem I found that it was not my: 1. wifi 2. ftp 3. laptop 4. pw 5. file manager. It turns out that the hosting server is not capable of extracting zip files without errors. After every new try to extract the zip file it gets extracted differently with randomly files and folders not being extracted or extracted as empty folders. I am now using a php unzip script together with pclziplib.php and now extracting goes perfect. I find it very strange that in 2014 a hosting server is not capable of something simple like extracting zip files without errors.
  4. Ok found it Extracting the dev zip on the hoster did not extract all the folders and files. I seem to have a lot of problems lately with extracting zip files on my hoster.
  5. Hi, I downloaded the latest dev, which seems to be 6316 Kb uploaded it to a subdirectory germ on the root of my hoster and want to install it. I get the following error: Warning: require(/home/www/my-domain.com/germ/wire/core/ProcessWire.php) [function.require]: failed to open stream: No such file or directory in /home/www/my-domain.com/germ/index.php on line 87 Fatal error: require() [function.require]: Failed opening required '/home/www/my-domain.com/germ/wire/core/ProcessWire.php' (include_path='.:/usr/local/php5/lib/php') in /home/www/my-domain.com/germ/index.php on line 87 Am I missing something ?
  6. Remember boilerplate from the modx days but never got my hands on it. Deserves a pw profile with boilerplate to download.
  7. What tool do you use to transfer the files to the new server ? Are you sure all the files made it over in the transfer to the new server and all file permissions are retained ? Did you check /site/config.php ? Check if there is anything in the site/cache folder, if yes, then delete everything and see if you can login.
  8. Yes, works many times better and faster than forum search.
  9. Did you first go through this post: http://processwire.com/talk/topic/4491-unable-to-log-into-processwire-website/ Did you try erasing the login admin and password directly in the database table called field_pass and replace them with a known hash from another processwire install ? You can do a fresh processwire install and setup admin = admin and password = 12345678 then copy the hash from the tables in the database and put them in the database tables where you can not login. If that doesn't help then try these posts: http://processwire.com/talk/topic/1736-forgot-backend-password-how-do-you-reset/ http://processwire.com/talk/topic/4011-cannot-login-to-admin-area/ Is the php version on the new hoster a higher version ?
  10. Thanks Teppo, I blamed my slow speed sim card connection that I use in my car not being stable enough for uploading in the back end. The problem turned out to be the hoster I use. They moved to cloud services and now websites made with accounts before are not completely compatible anymore with there new cloud system. I switched quickly to another (not cloud) hoster and now uploading in the back end goes without any problems. This is going to save my Sunday Horst, that is a good tip to do these things with the api. I should practice more with the api.
  11. Hi, In the back end you can upload a picture with the browse button or use drag and drop here. I noticed the uploaded picture ends up three fold in /site/assets/files/1/ picture.0x100.jpg picture.232x176.jpg picture.jpg I want to upload directly a picture with ftp to /site/assets/files/1/ I assume I have to upload the picture three times picture.0x100.jpg picture.232x176.jpg picture.jpg Doing so will the picture show up in the website the same way as uploaded with the browse button or with drag and drop here in the back end ? Do I have to edit something manually in the database ? The reason why I want to do this is my weak unstable upload speed when I am on the road but where ftp still seems to work.
  12. Thanks, yes the forum is full of useful but scattered posts and when I have the time I try to sort them out. Next step could be to put everything in a database with a nice front end.
  13. Thanks for your reply and about cookies. I have now something to workout in the week-end and see how far it will get me. Thanks.
  14. Your reply has brought me a simple idea. When a client wants to buy a product and clicks on a buy button underneath this product, I can use this button click to link to a form where the client can fill in his data such as his email. Also I can use the fields inside PW where the product data is and use the contents of these fields to be used on the form. What you think, will this work ? Thanks.
  15. Thanks for the quick reply and the link to swiftmailer. When a customer selects a product on a webpage that he wants to buy, from that point on how do I trigger the event that an email is send to the customer. Maybe in a simple way with the api or fields within processwire ?
  16. Hi, I am making a very simple webshop with processwire. I am not going to use paypal and also not credit cards, but simple bank transfers and emailing with the customers. I know how to make a form on a website that somebody can fill in and then will be send to an email address. But when a customer buys a product on a website made with processwire, how can I make processwire send an email automatically to this customer to confirm his order ? I just need something simple. Thanks.
  17. PW can handle the back end without any problems. But for a project like that, unless you have lot's of time and experience your self, you should look for 1 or 2 experienced people to get you started. .
  18. Try this: RewriteEngine On RewriteRule ^index\.(php|html?)$ http://www.mydomain.com/ [R=301,L]
  19. I tested it on a slow connection, still loads very fast, also the picture slideshow. Of what I can see on the front: Easy to navigate, very transparant with colors matching the subject, nice footer.
  20. Drones are quite a while around but this one is a good example of following trends where people want to upgrade their lives and then innovate on one of them. http://www.kickstarter.com/projects/749707768/the-pocket-drone-your-personal-flying-robot
  21. Hi, Check if /site/config.php is readable. Check if /site/assets/ is set recursively to 777 Recreate the following folders: /site/assets/cache/ /site/assets/logs/ /site/assets/sessions/ Else go through these 3 posts in the forum and you will find you answer: http://processwire.com/talk/topic/1563-this-request-was-aborted-because-it-appears-to-be-forged/ http://processwire.com/talk/topic/3970-this-request-was-aborted-because-it-appears-to-be-forged/ http://processwire.com/talk/topic/2786-request-seems-to-be-forged/
  22. +1 Nevertheless, I noticed that create.js has a very clean approach and interface for inline editing so it is really worth trying. http://createjs.org/guide/ thanks for posting this.
×
×
  • Create New...