• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

My Monkey Do

A Log of Coding Solutions

  • Home
  • Web Hosts
  • Tools
  • About

git

Class “Some/Namespace/App.php” not found (only on server)

August 11, 2024 by Webhead

The Problem

Everything works fine on your Mac OS setup, but for some reason, on your Linux server you get the error below. All file names look correct, case sensitive and all.

Class "Some/Namespace/App.php" not found.

The Solution

When you rename a file on Mac and it’s just changing the case, git won’t pick it up. So while you think it’s renamed on the server, it may not be! When renaming a file and it’s just changing the case, use:

git mv app.php App.php

Filed Under: Uncategorized Tagged With: git, linux, macOS, php

GIT PUSH IS FAILED DUE TO RPC FAILURE (RESULT=56)

August 16, 2013 by Webhead

Problem

Pushing to git showed this error:

error: RPC failed; result=56, HTTP code = 0

Solution

The problem is the git buffer is too low.  After finding the solution I realized I did have a large image that I added to the repository.   To fix, run the following command.

git config http.postBuffer 524288000

Thanks to:  http://flyingtomoon.com/2011/04/12/git-push-is-failed-due-to-rpc-failure-result56/

Filed Under: Tools Tagged With: git

Load SSH key at startup for Mac OS X

February 5, 2013 by Webhead

If your ssh key is not adding and you continuously have to keep doing ssh-add -l ~/.ssh/mykey then do the following to add it to your keychain:

ssh-add -K ~/.ssh/mykey

 

source: http://stackoverflow.com/questions/1909651/svnssh-not-having-to-do-ssh-add-every-time-mac-os

keywords: mac osx ssh-add all the time

 

Filed Under: Coding Tagged With: git, linux, mac os x

git move files

May 11, 2012 by Webhead

Problem

I added and pushed a bunch of files into my repository, but now I need to put it into a subfolder.

 

Solution

Git is smart and will find the files you moved.  Do the following:

$ mkdir newFolder
$ mv oldFolder newFolder
$ git rm -r oldFolder
$ git add newFolder

source:  http://stackoverflow.com/questions/3900805/git-command-to-move-a-folder-inside-another
keywords: git move files to another folder

Filed Under: Tools Tagged With: git

git couldn’t resolve proxy null

April 13, 2012 by Webhead

Problem:

I keep getting this error:

“Couldn’t resolve proxy ‘(null) …”.

I googled so hard!

 

Solution:

Thank you to someone who just plainly answers my question.  You just have to unset http.proxy and possibly https.proxy!

git config –global –unset http.proxy

searched: proxy connect aborted while accessing git
Thanks to: http://stackoverflow.com/questions/5102361/pull-command-error-failed-connect-to-github-com8080

Filed Under: Tools Tagged With: git

Primary Sidebar

Topics

apache apple bootstrap buddypress chrome cloudways cms css debug drupal eCommerce firebug firefox git gmail goDaddy google hosting htaccess html html 5 IE crap image iPad iPhone javascript jquery kinsta linux localization mac os x ms sql mysql open source optimize php php 7.2 svg tinymce woocommerce wordpress wpengine xss yii youtube




Categories

  • Coding
  • Off the Shelf
  • Plugins
  • Random Thoughts
  • Server Stuff
  • Tools
  • Uncategorized