Jump to content

kyle

Members
  • Content Count

    32
  • Joined

  • Last visited

  • Days Won

    1

kyle last won the day on July 16 2013

kyle had the most liked content!

Community Reputation

40 Excellent

About kyle

  • Rank
    Jr. Member

Profile Information

  • Gender
    Not Telling
  1. It was an issue with vagrant. I have had the issue setting up laravel also. To fix it I just changed the user/group for apache to vagrant. Generally this wouldn't be safe at all in a production environment but access to the VM is limited to me, so I am not too concerned. To change the user/group will depend on your OS. In ubuntu the config file is located in /etc/apache2 and it is apache2.conf. Sometimes "apache2" will be swapped out for "http.d". You can edit the file using vim/nano and then save and restart apache.
  2. I have been able to easily install processwire in the past locally and on servers, but I recently added Vagrant to my development process, and I can't seem to get processwire installed correctly. Everything is right as far as the required components for the install. I go through ans rename the site-default to site and htacess.txt to .htaccess. Then I chmod /site/assets and /site/config.php to 777. Everything passes the check correctly, and then I enter the database info etc. There are no errors here. Everything looks like it gets installed correctly, but when I log in I get the "This request was aborted because it appears to be forged." error. I have come across this error before, and know how to fix it normally. I have confirmed that the sessions, cache, logs, files folders were created. I have even tried to chmod the whole site to 777, but nothing has worked. I have set $config->protectCSRF to false, and it gets rid of the error; however, it doesn't actually log me into the site but it redirects me back to the processwire login page with no errors and the form fields cleared. The owner and group when I ssh in are vagrant/vagrant, so I don't think that would be an issue. I have seen this post which seems to be having the same issue as me, but the index.php file has seemed to same, so the answer is outdated. Any ideas?
  3. I have been able to easily install processwire in the past locally and on servers, but I recently added Vagrant to my development process, and I can't seem to get processwire installed correctly. Everything is right as far as the required components for the install. I go through ans rename the site-default to site and htacess.txt to .htaccess. Then I chmod /site/assets and /site/config.php to 777. Everything passes the check correctly, and then I enter the database info etc. There are no errors here. Everything looks like it gets installed correctly, but when I log in I get the "This request was aborted because it appears to be forged." error. I have come across this error before, and know how to fix it normally. I have confirmed that the sessions, cache, logs, files folders were created. I have even tried to chmod the whole site to 777, but nothing has worked. I have set $config->protectCSRF to false, and it gets rid of the error; however, it doesn't actually log me into the site but it redirects me back to the processwire login page with no errors and the form fields cleared. Any ideas?
  4. kyle

    HallExchange

    @Gnuey I used bootstrap as a template and then tweaked it for a design that I made in photoshop. Currently all of the backend is handled by Processwire, but depending on how it scales, that could change in the future. @dragan I may supply a test account, but really the only features are being able to view the ads and contact ad posters. The links are actually a bug! Thanks for catching that! I have updated it so the prices display better now. Originally, I didn't know how people wanted to display a price, and I tried to force numbers only. That didn't exactly workout so it's much more flexible now. The data-rocketsrc is actually code provided by Google so I can used their jquery. It just uses their CDN so I can save bandwidth.
  5. kyle

    HallExchange

    HallExchange is a classifieds service exclusively for college students. Right now, it is only open to students from my school, but will expand to other college's in the future. What do you think? http://www.hallexchange.com/
  6. @kongondo thanks! I am pretty curious as to what computers people are using, about the hardware, and OS.
  7. What kind of set up do you have? What are some programs that you often use when creating websites? Any tips you can give the rest of the community? I recently switched to Mac and absolutely love it. I got the macbook pro so I was able to replace my big desktop. It's nice being able to code wherever I want. I mainly use phpstorm and photoshop. I develop locally and then push to development/production using git. I use to use FTP but it's really nice to just use a git pull and have everything update and working.
  8. I am getting and error with a front end login. It is only happening for one specific user, and I can't figure out what's going on. I turned on debug in the config and will attach the screen shot that he sent me. If you would prefer for me to type it out, please let me know and I will. The error seems to be the result of a selector, and it may be from my code; however, my template files aren't listed anywhere in the error stack. The screen shots are from when he tried to login on his phone, but he has tried on his computer and gets the error using IE and chrome. His username is set up has first-lastname.
  9. It is pretty amazing how much of a difference caching in general makes. I ended up enabling template caching for everything but the register, login, and account management page and plan to add procache when I get money. edit: I had the caching enabled but it prevented people from using the frontend login form
  10. Is there any disadvantage to using template caching? I will look into ProCache.
  11. @SiNNuT thanks for the link. The target of the site for right now is ~30,000 people, and I really think that about 1/3 of the people will regularly use it. The site is classifieds service. So there are always new posts. It is organized like this: > Location >Category >Ads >Category >Ads >Category >Ads I gave APC a about 700M of memory to use so hopefully that helps out. I ran it though a blitz stress test and it started off really well but after about 1,000 hits it starts to time out.
  12. I am working on a little project that is highly dynamic. It relies heavily on forms and sessions. What are some caching options available? I have looked at the MarkupCache and the ProCache module. Should I use template caching? The site is a little bit like the Skyscrapers example site in the way it lists the pages, but pages are constantly being added. I have APC enabled for the site and I run it through cloudflare. Anything else I can do to keep it fast?
  13. @arjen The short tags was in fact the issue! Thank you very much. I had previously seen that post and tried the suggestions but I have the cache, logs, and sessions folders created and set to the right permissions. When I add $config->protectCSRF = false; to the config file the error doesn't display anymore but it doesn't log me in. Also commenting out Options +FollowSymLinks and Options +SymLinksifOwnerMatch did not help. All the files should be the same because I am using git for version control. I previously had the issue when I pushed the site to my development server on my VPS, but that was due to me not having the sessions and cache folders.
  14. I don't think there is an easy way since Jekyll doesn't seem to us a DB. You could probably write an automated method to do this for you. Do you have all the files on git or something similar so I could take a look?
×
×
  • Create New...