Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Session key invalid or no longer valid' in .../modules/mod_jconnector/facebook/php/facebookapi_php5_restlib.php:3017 Stack trace: #0 .../modules/mod_jconnector/facebook/php/facebookapi_php5_restlib.php(1614): FacebookRestClient->call_method('facebook.users....', Array) #1 .../modules/mod_jconnector/jconnector_server.php(56): FacebookRestClient->users_getInfo('my facebook id', Array) #2 {main} thrown in .../modules/mod_jconnector/facebook/php/facebookapi_php5_restlib.php on line 3017
To fix this issue go to the file modules/mod_jconnector/jconnector_server.php there is a line at round about line 50:
$facebook = new Facebook($module_params['fb_key'], $module_params['fb_secret']);
Just after the above line add this line to fix the issue:
$facebook->api_client->session_key = null;
Now it should look something like this:
Code: [Select]
include_once(JPATH_BASE .DS.'modules'.DS.'mod_jconnector'.DS.'facebook'.DS.'php'.DS.'facebook.php');
$facebook = new Facebook($module_params['fb_key'], $module_params['fb_secret']);
$facebook->api_client->session_key = null;
$fb_uid = $facebook->require_login();
Reference
http://www.phpin24.co.za/php/jconnector-and-facebook-connect-session-key-invalid-or-no-longer-valid/
Wednesday, March 10, 2010
Tuesday, February 2, 2010
Equallogic setup
Got Equallogic, lots of manuals, yeah, but where to start?
So you bought an EqualLogic SAN, now what
http://michaelellerbeck.com/2009/11/23/so-you-bought-an-equallogic-san-now-what-part-one/
So you bought an EqualLogic SAN, now what
http://michaelellerbeck.com/2009/11/23/so-you-bought-an-equallogic-san-now-what-part-one/
Wednesday, January 13, 2010
How to shutdown EqualLogic
2. login using grpadmin account.
3. run shutdown command.
Here are example.
PS Series Storage Arrays
Unauthorized Access Prohibited
login: grpadmin
Password:
Welcome to Group Manager
Copyright 2001-2008 EqualLogic, Inc.
SANGP> shutdown
Do you really want to shutdown the system? (yes/no) [no]yes
Halt at Tue Jun 9 18:37:04 CDT 2009 -- please wait...
5823:0:logevent: 9-Jun-2009 18:37:04.280835:logevent.c:242:WARNING:25.3.0:User has initiated restart with '(halt)'.
The array has been halted.
You can safely power off the array or type any key to restart the array.
Reference:
http://www.chicagotech.net/netforums/viewtopic.php?f=1&t=6271
Thursday, December 10, 2009
Connect two Yamaha RTX via VPN with dynamic global IP
Connect two Yamaha RTX via VPN with dynamic global IP (of course, one side must have a fixed global IP)
http://www.rtpro.yamaha.co.jp/RT/docs/ipsec/dialup_vpn.html
http://www.rtpro.yamaha.co.jp/RT/docs/ipsec/dialup_vpn.html
PPTP VPN on Yamaha RTX
This is to set Yamaha RTX as PPTP server waiting for connection from clients.
# pp select anonymous
anonymous# pp bind tunnel2
anonymous# pp auth request mschap
anonymous# pp auth username
anonymous# ppp ipcp ipaddress on
anonymous# ppp ipcp msext on
anonymous# ppp ccp type mppe-any
anonymous# ip pp mtu 1280
anonymous# pptp service type server
anonymous# pp enable anonymous
anonymous# pptp service on
anonymous# tunnel select 2
tunnel2# tunnel encapsulation pptp
tunnel2# tunnel enable 2
tunnel2# save
セーブ中... CONFIG0 終了
Reference
http://www.rtpro.yamaha.co.jp/RT/docs/example/pptp/pptp_example1.html
# pp select anonymous
anonymous# pp bind tunnel2
anonymous# pp auth request mschap
anonymous# pp auth username
anonymous# ppp ipcp ipaddress on
anonymous# ppp ipcp msext on
anonymous# ppp ccp type mppe-any
anonymous# ip pp mtu 1280
anonymous# pptp service type server
anonymous# pp enable anonymous
anonymous# pptp service on
anonymous# tunnel select 2
tunnel2# tunnel encapsulation pptp
tunnel2# tunnel enable 2
tunnel2# save
セーブ中... CONFIG0 終了
Reference
http://www.rtpro.yamaha.co.jp/RT/docs/example/pptp/pptp_example1.html
Thursday, December 3, 2009
Filtering packet at tunnel on Yamaha RTX
Filter setting from Web UI is only possible for PP, but via command line filtering tunnel is also possible, for example:
This is, use "ip tunnel secure" instead of "ip pp secure" and put this line after "tunnel select".
ip filter 201010 pass * 172.31.31.0/24 icmp * *
ip filter 201011 pass * 172.31.31.0/24 established * *
ip filter 201012 pass * 172.31.31.0/24 tcp * ident
ip filter 201013 pass * 172.31.31.86/32 * * *
ip filter 201014 pass 10.0.10.254/32 172.31.31.0/24 * * *
ip filter 201015 pass 172.31.31.0/24 * * * *
tunnel select 2
tunnel encapsulation ipip
tunnel endpoint address 172.25.111.3
ip tunnel tcp mss limit auto
ip tunnel secure filter in 201010 201011 201012 201013 201014 201015
tunnel enable 2
This is, use "ip tunnel secure" instead of "ip pp secure" and put this line after "tunnel select".
Sunday, November 29, 2009
Hackintosh on LG X120
Download NetbookBootMaker
http://code.google.com/p/netbook-installer/
Create the installer USB disk from Leopard DVD as mentioned here
http://www.mydellmini.com/forum/mac-os-x-guides/12595-netbookinstaller-1-usb-installation-via-mac.html#post99604
With the USB boot disk, boot and create 2 partitions as mentioned on this "Example 2: GUID Multi-Boot for Windows XP"
http://osx.mechdrew.com/guides/advanced2.shtml
Then proceed with install.
The X120 will be installed with Leopard and working Ethernet. Do a software update, which will update it to 10.5.8, then reboot. Screen will just be blank. Do a safe boot by typing -x on Chamaleon screen. Then run Netbook installer, install all. Leopard will then boot normally. But ethernet will no longer work.
LG X120's WiFi is using Realtek's rtl8187se. This is the same card as MSI Wind, and there is already a driver for MacOS. Install the driver to enable WiFi.
http://financemanila.net/2008/12/download-rtl8187se-driver-and-install-mac-osx-in-your-msi-wind-akoya-advent/
http://www.tierheilpraxis-meder.de/Realtek_RTL8187SE_MacOS10.5_Driver_073_UI_1.6.2.zip
http://rapidshare.com/files/171809218/Realtek_RTL8187SE_MacOS10.5_Driver_073_UI_1.6.2.zip
http://rapidshare.com/files/171826470/Realtek_RTL8187SE_MacOS10.5_Driver.zip
Use this to enable ethernet again
http://sourceforge.net/projects/realtekr1000/
http://code.google.com/p/netbook-installer/
Create the installer USB disk from Leopard DVD as mentioned here
http://www.mydellmini.com/forum/mac-os-x-guides/12595-netbookinstaller-1-usb-installation-via-mac.html#post99604
With the USB boot disk, boot and create 2 partitions as mentioned on this "Example 2: GUID Multi-Boot for Windows XP"
http://osx.mechdrew.com/guides/advanced2.shtml
Then proceed with install.
The X120 will be installed with Leopard and working Ethernet. Do a software update, which will update it to 10.5.8, then reboot. Screen will just be blank. Do a safe boot by typing -x on Chamaleon screen. Then run Netbook installer, install all. Leopard will then boot normally. But ethernet will no longer work.
LG X120's WiFi is using Realtek's rtl8187se. This is the same card as MSI Wind, and there is already a driver for MacOS. Install the driver to enable WiFi.
http://financemanila.net/2008/12/download-rtl8187se-driver-and-install-mac-osx-in-your-msi-wind-akoya-advent/
http://www.tierheilpraxis-meder.de/Realtek_RTL8187SE_MacOS10.5_Driver_073_UI_1.6.2.zip
http://rapidshare.com/files/171809218/Realtek_RTL8187SE_MacOS10.5_Driver_073_UI_1.6.2.zip
http://rapidshare.com/files/171826470/Realtek_RTL8187SE_MacOS10.5_Driver.zip
Use this to enable ethernet again
http://sourceforge.net/projects/realtekr1000/
Subscribe to:
Posts (Atom)