Friday, 5 February 2016

FIXED Invalid Apple Watch icon file names must match pattern “*@x.png”

Invalid Icon Name - The watch application 'Ellucian GO.app/Watch/Ellucian GO WatchKit App.app' contains an invalid icon file name 'Ellucian GO.app/Watch/Ellucian GO WatchKit App.app/AppIcon44x44@2x.png'. Make sure that icon file names follow the pattern "*<dimension>@<scale>x.png" and they match the required dimensions. Please visit https://developer.apple.com/watchkit/ for more information

I discoved the fix to this to be the following:
Disabled WatchOS 1.0


Making sure the the Icons are called APP ICON:
AppIcon24x24@2x.png
AppIcon27.5x27.5@2x.png
AppIcon29x29@2x.png
AppIcon29x29@3x.png
AppIcon40x40@2x.png
AppIcon44x44@2x.png
AppIcon86x86@2x.png
AppIcon98x98@2x.png

Clearing derived data & Restart XCODE
Deleted all files within XCODEs derived data folder

Build and Resubmit
Voila! No issues with Icons anymore!!!

Tuesday, 15 December 2015

[Ellucian Mobile] Uknown error for registration-register

Database Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production PL/SQL Release 11.2.0.4.0 - Production
grails Grails 2.4.3.
Problem Whenever one of our Devs compiles and installs a modification or a new PLSQL report the Grails application stops working and only reponds with
"Uknown error for registration-register"

Solution for us was: make sure studentAPI Installed on the Database Server matches the StudentAPI war file on the Ellucian Mobile server

Thursday, 10 December 2015

mongodb authentication failed code 18

If you are receiving this error and are 100% sure you are using the correct DATABASE username/password. try to update your mongodb client

PHP
pecl upgrade mongodb

Grails
add to to the BuildConfig.groovy file
compile "org.grails.plugins:mongodb:5.0.0.RC1"

Also if you are having problems serializing a list in Grails and only receiving the first item. It may be because <Domain Class>.list() does not return a list or array item but a MongoDB collection now (since MongoDB updates) to remedy this for now I have cast the lists to Arrays.

Thursday, 7 August 2014

XAMPP and CakePHP on OSX

To get CakePHP running on XAMPP OSX

On my install I have a folder in htdocs called imdb

/Applications/XAMPP/xamppfiles/htdocs/imdb
*CAKEPHP is installed here

Open and Edit
/Applications/XAMPP/xamppfiles/etc/extra/httpd-xampp.conf

Add in the following snippet
alias /imdb  /Applications/XAMPP/xamppfiles/htdocs/imdb/app/webroot

<Directory "/Applications/XAMPP/xamppfiles/htdocs/imdb/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
</Directory>


Friday, 18 July 2014

PHP Script not executing in HTML pages - Dreamhost

I recently spun up my Dreamhost account from a few years ago to do play around PHP and couldnt get php running! After installing PHP 5.4 using the Dreamhost provided script I still had the problem until I added the following to .htaccess
<FilesMatch "\.(htm|html)$">
SetHandler application/x-httpd-php5
</FilesMatch>

Thursday, 29 May 2014

HighCharts - Graph sizes in Tabs not resizing to Tab

<style type="text/css">    /* bootstrap hack: fix content width inside hidden tabs */    .tab-stats-content > .tab-stats-pane  {        display: block;    /* undo display:none          */        height: 0;         /* height:0 is also invisible */        overflow: hidden;  /* no-overflow                */        padding: 0px;    }    .tab-stats-content > .active, .tab-stats-pane > .active {          /* let the content decide it  */        height: 100%;
   }    /* bootstrap hack end */
</style>
<ul class="nav nav-tabs" id="myTab">
   <li class="tab-pane active"><a href="#active" data-toggle="tab">Teams And Users By Week</a></li>
   <li><a href="#teamsbysport" data-toggle="tab">Teams By Sport</a></li>
   <li><a href="#teamsthismonth" data-toggle="tab">Teams Created This Month</a></li>
</ul>
<div class="tab-stats-content">
   <div class="tab-stats-pane active" id="active">    {{ render(controller('RosterbotAnalyticBundle:Graph:Draw', {'graph':'TeamsAndUsersByWeek', 'div' : 'active'} ))}}  </div>
   <div class="tab-stats-pane" id="teamsbysport">      {{ render(controller('RosterbotAnalyticBundle:Graph:Draw', {'graph':'TeamsBySport', 'div' : 'teamsbysport'} ))}}  </div>
   <div class="tab-stats-pane" id="teamsthismonth">        {{ render(controller('RosterbotAnalyticBundle:Graph:Draw', {'graph':'TeamsThisMonth', 'div' : 'teamsthismonth'} ))}} </div>
</div>

Thursday, 3 April 2014

Oracle OHS 2 VirtualHost domains on the same port with different RewriteRules

#Ensure the listening port
Listen 80
#Name the virtualhost
NameVirtualHost *:80
<VirtualHost *:80>
ServerName domaindns1
ServerAlias domaindns1
RewriteEngine On
  RewriteOptions inherit
RewriteRule ^/$ /webcenter/spaces/Space1Name[PT,L]
RewriteRule ^/webcenter$ /webcenter/spaces [PT,L]
RewriteLog /home/oracle/rewrite.log
<Location />
  SetHandler weblogic-handler
        WebLogicCluster WCSSERVER:8888
</Location>
</VirtualHost>
<VirtualHost *:80>
ServerName domaindns2
ServerAlias domaindns2
RewriteEngine On
  RewriteOptions inherit
RewriteRule ^/$ /webcenter/spaces/Space2Name[PT,L]
RewriteRule ^/webcenter$ /webcenter/spaces [PT,L]
RewriteLog /home/oracle/rewrite.log
<Location />
  SetHandler weblogic-handler
         WebLogicCluster WCSSERVER:8888
</Location>
</VirtualHost>

Add the DNS to the /etc/hosts
sudo nano /etc/hosts

Then add the following two lines
127.0.0.1               domaindns1 domaindns1 
127.0.0.1               domaindns2 domaindns2 

Then
Sudo ./opmnctl stopall

Sudo ./opmnctl startall

If you do not "super user do" stop and then start opmnctl you will receive the following error
(13)Permission denied:  make_sock: could not bind to address 0.0.0.0:80