Tag: server

  • Unable to Start Apache – Xampp

    Hey everyone, I was mucking around with xampp this morning and ran into the following issue with apache: 3:41:52 PM [main] Initializing Control Panel 3:41:52 PM [main] Windows Version: Windows 8 Pro 64-bit 3:41:52 PM [main] XAMPP Version: 5.6.3 3:41:52 PM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ] 3:41:52 PM [main]…

  • Retrieving Thumbnail from an Animated Gif – CarrierWave

    Hey everyone, I’ve been mucking around with CarrierWave today and ran into a bit of an issue. When creating a thumbnail from an animated gif the thumbnail was also animated. Unfortunately this led to some of my image-heavy pages hanging for a bit. This StackOverflow post offers the following solution: #Add this method in your…

  • Simple Staging/Test Environment with Heroku – Ruby on Rails

    Hey everyone, This is just a quick guide on how to create a test/staging environment with Heroku. — Create staging environment heroku create –remote staging — Push to staging app heroku push staging master — Run rake db:migrate on staging app heroku run rake db:migrate –remote staging — Add pgbackups add ons heroku addons:add pgbackups…

  • Assets:Precompile (Rake Aborted) – Heroku

    Hey everyone, I ran into the following error over the weekend while trying to push to heroku: Running: rake assets:precompile rake aborted! could not connect to server: Connection refused Is the server running on host “127.0.0.1” and accepting TCP/IP connections on port 5432? This stackoverflow post helped to solve the issue. All you need to…

  • Installing SQL Developer on Ubuntu – make-sqldeveloper-package chmod: missing operand after `755′

    Hey everyone, I was following a guide while trying to install SQL Developer on Ubuntu, however I ran into the following error: make-sqldeveloper-package chmod: missing operand after `755′   To fix it, simply change line number #381 in ‘/usr/bin /make-sqldeveloper-package’ as follows: Original ${FIND} “${OPTDIR}” ! ( -type d -o -name “*.jar” ) |${XARGS} ${XARGS_OPTS}…

  • WARN Could not determine content-length of response body – Ruby on Rails

    Hey everyone I was going through my development logs today and noticed that the following line was appearing everywhere: WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true While nothing appeared to be wrong, it made the logs a lot harder to read. A stackoverflow post…

  • The Name is Either Already Used or Reserved by Ruby on Rails

    Hey everyone, I ran into the following error while attempting to create a new model called calendar today: chris@chris-VirtualBox:~/calendar$ rails g model calendar invoke active_record The name ‘Calendar’ is either already used in your application or reserved by Ruby on Rails. Please choose an alternative and run this generator again. It turns out that this…

  • Paypal_Adaptive IPN Verification: INVALID – Ruby on Rails

    Hey everyone, I’ve been working with the PayPal_Adaptive gem recently and unfortunately I’ve run into a few issues. The latest of these has been that that my IPN verification was returning an INVALID response from Paypal. I had made a few modifications to the provided payment_notification.rb file in order to accommodate for a few app…

  • View Last Query Executed – Oracle

    Hey all, Just a quick post on how to view recent queries run into an Oracle database: SELECT sql_text, sql_fulltext FROM v$sql ORDER BY last_load_time DESC Cheers

  • Git with KDiff3 – Windows

    Hey all, Just a quick post showing the config I needed to use in order to get KDiff3 working with git. It took a while to get this working so hopefully it’ll be able to help someone else out. #Config file [user] email = test@test.com.au name = test [core] editor = “C:\Program Files\Sublime Text 2\sublime_text.exe”…

Create a website or blog at WordPress.com