load-scripts.php のSyntax Errorで記事の編集画面JS関連が動かなくなる件

Jun 27, 2014
AD:

WordPressの本番環境の記事を編集する画面が、load-scripts.php のSyntax ErrorでVisual Editorなどが使えなくなりました。
ローカルのテスト環境では問題無く動いていたのですが、、、
Screen Shot 2014-06-27 at 10.25.31 pm

各種プラグインを無効にしたり、WordpressのVersionを下げたり、サーバを変更したり色々したのですが、まったく解決方法が見つかりませんでした。
状況的には、load-scripts.phpの出力が途中で止まって、SyntaxErrorになっている状況でした。

解決方法

出力が問題だと思ったので、wp-config.phpに下記の記述を追加して、最終的に僕は解決しました。

やれやれ。。時間を取られました。。。

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 1 | Pocket: 0 | Total: 1 | Feedly: 0

git pushでDeployできるようするメモ

Jun 24, 2014
AD:

Googleさんで調べていたのですが、情報が古かったり、微妙にわかりにくかったので、自分のためにもメモとして残しておきます。

リモートサーバの接続設定

ローカルでの作業
鍵を作ります

リモートサーバの設定
authorized_keysの一番下に上記の公開鍵を追加

これでssh username@serverhost.comなりで接続できるようになります。

リモートサーバにリポジトリを作成

リモートサーバでの作業

注意点
– post-updateの中に、exec git update-server-infoがあれば、その前に上記のCodeは追加してください。
– cd /var/www/hoge-blog; git –git-dir=.git pullの’/var/www/hoge-blog’はDeployのPathと合わせてください。

リモートサーバにフォルダを設置

リモートサーバでの作業

ローカルののgitにRemoteを追加

ローカルでの作業

いざDeploy

ローカルでの作業

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 0 | Pocket: 1 | Total: 1 | Feedly: 0

Xcode6が起動できない

Jun 4, 2014
AD:

さっそくXcode6 Betaを落としたのですが、下記の画像にようになって、起動できませんでした。。。
Screen Shot 2014-06-04 at 10.43.10 am
地味に、悩んだですが、OSのVersionが10.9.3以上でないと使えないらしいです。。。。
はやくSwiftを使いたい

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 0 | Pocket: 0 | Total: 0 | Feedly: 0

Appleが発表したプログラム言語 Swift Langのメモ

Jun 3, 2014
AD:

機能のAppleのWWDC2014で発表された新しい言語Swift、せっかくObjective-cに慣れだしたばかりですが、コードを読む限り、普段スクリプト言語を使っている僕には、Objective-cより断然読みやすく、わかりやすい。
まだ全部読んではいないですが、Rubyに似ていそうな雰囲気です。言語自体は、2007年からあるようですね。
Apple_Swift_Logo

概要
https://developer.apple.com/swift/

リファレンス
https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/LandingPage/

Appleが出しているSwiftの本
https://itunes.apple.com/us/book/the-swift-programming-language/id881256329?mt=11

Swift言語の公式サイト
http://swift-lang.org/

Wiki
http://en.wikipedia.org/wiki/Swift_(programming_language)

Xcode 6

https://developer.apple.com/xcode/
https://developer.apple.com/library/prerelease/ios/documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_6_0.html#//apple_ref/doc/uid/TP40014509-SW1

Sprite Kit
http://www.sprite-kit.com/
https://developer.apple.com/library/ios/documentation/GraphicsAnimation/Conceptual/SpriteKit_PG/Introduction/Introduction.html

New iOS関連

https://developer.apple.com/library/prerelease/ios/releasenotes/General/iOS_DevLib_Release_Notes/index.html#//apple_ref/doc/uid/TP40011648

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 0 | Pocket: 0 | Total: 0 | Feedly: 0

I joined Rockdale Toastmaster

Jun 3, 2014
AD:

I have been a member for Rockdale Toastmaster since 2012. I really like this club. Members are nice to me and friendly. Every time I learn from members and their speeches.

Rockdale Toastmaster Contact Information

If you are intrested our club you could contact to us from our website.
http://9710.toastmastersclubs.org

Meeting place
Botany Bay Toastmasters meets on the first and third Monday of each month at The Rockdale Tennis Club, 71 Chapel Street, Rockdale from 7:30 pm to 9:30pm.

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 0 | Pocket: 0 | Total: 0 | Feedly: 0

Search Keyword

Meta

face Ayumi Mizoshiri
WEB developer

FacebookPage

Popular Posts

Sorry. No data so far.

ARCHIVES