Results 11 to 20 of 22
OK so this is what I get for those 2 files:
Code:
-rwxr-xr-x 1 domain929013 vweb 18886 Jun 30 10:46 OrderHash.e
-rwxr-xr-x 1 domain929013 vweb 18972 Jun 30 09:19 Results.e
...
- 07-09-2009 #11Just Joined!
- Join Date
- Jun 2009
- Posts
- 20
OK so this is what I get for those 2 files:
Code:-rwxr-xr-x 1 domain929013 vweb 18886 Jun 30 10:46 OrderHash.e -rwxr-xr-x 1 domain929013 vweb 18972 Jun 30 09:19 Results.e
ls is a command that will list the contents of a directory and using the -l flag orders the contents into a list and gives us some more information such as the file permissions
The two files you are installing will look at the environment variable $LD_LIBRARY_PATH to find the file libCcCpiTools.so. However, it would seem that this environment variable is empty so you will need to talk to your provider to get that added – unless you have root access to the account?[/QUOTE]
I'm not 100% on the extent of the access I have, I'm don't host my client's sites on fasthosts usually but this is for someone else who isn't actually with my company's hosting. How would I go about adding it if I did have root access?
- 07-09-2009 #12
Right, you have correctly set the file permissions on both files (they are executable) so I guess the problem you are having is down to this path. To get it added you would have to contact who ever hosts the server. They may refuse to add the path but we wont know until you contact them
Linux User #453176
- 07-09-2009 #13Just Joined!
- Join Date
- Jun 2009
- Posts
- 20
- 07-09-2009 #14
You should probably tell them about the application you are trying to install.
What you are trying to get them to do is either add a path that you have access to in the environment variable LD_LIBRARY_PATH or add a path that you don't have access to in it and put your libCcCpiTools.so file into that directory
The paragraph in the instructions that you may want to read to them is:
"Add the path to libCcCpiTools.so to the LD_LIBRARY_PATH environment variable (either by
suitable file location, or direct addition). It may be necessary for a merchant to speak to their host
regarding suitable location / installation of this file."Linux User #453176
- 07-09-2009 #15Just Joined!
- Join Date
- Jun 2009
- Posts
- 20
OK Kieren, thanks so much for the advice. I've been on hold for 20 minutes now with the world's cheesiest hold music, I just hope they pick up before 5pm or it looks like I'll either be in the office a bit longer than planned or I'll be sitting at home continuing the conversation later this evening.
I'll let you know what's happening after I've spoken to fasthosts.
- 07-09-2009 #16
- 07-09-2009 #17Just Joined!
- Join Date
- Jun 2009
- Posts
- 20
Yeah not a very fitting name really, I'm through now and I'm pretty sure it's the same American/Canadian woman I spoke to last time - I have a feeling she IS the technical department! OK she doesn't think they can add this path due to the fact it is shared hosting, and she has just confirmed that they can't! That is just superb, so now they require me to get this person to pay 10 times more per month to get a dedicated server just to do this.
I'm fairly annoyed at the HSBC, they sold the person this package telling her she could put the system into her site easily enough herself and that it they just give her a "piece of code that needs pasting into a page of the website". I think not!
I'm going to check that the shared servers I use to host my client's websites will allow this or not because I can't justify her paying that much more just for this.
- 07-09-2009 #18
Well there may be more we can do. If the files they have provided aren't binery we can modify them to work. Does the command:
give anything meaningful? You will again have to be in the same directory as the file for this to workCode:cat OrderHash.e
Linux User #453176
- 07-09-2009 #19Just Joined!
- Join Date
- Jun 2009
- Posts
- 20
Erm depends what you mean by 'meaningful', as this doesn't mean much to me - although in the middle of that the problem could be that it can't find the key in the ss.txt file;
Code:\íÿÿëD ÿuðèmEÐÄ Àu ì íÿÿë!ÿuÐÿuØèrúÿÿEÌÄ Àu8ì <ïÿÿPè¢ùÿÿÄÿEÔuè9uÔpÿÿÿì ó¦ÂÀ8Ât<U¼zt3r÷¹ÿÿÿÿ°ò®ùþt VUÔMÜÿ0ÿ0 »Yêÿÿ¹üó¦ÂÀ8ÂtVu¸ vEÔUÜE¼E¸Æ ÜîÿÿPè2úÿÿÇEÔÄé wêÿÿ$èDúÿÿÿuÌ mêÿÿ$èRúÿÿ îÿÿ$è`úÿÿ <îÿÿPènúÿÿ vÿuÈ úÿÿ¸éH Gêÿÿ$è Üëÿÿ$èÿÿ üíÿÿPè©úÿÿ ¯êÿÿ$è%ùÿÿÄÿuÌèzøÿÿÄÿuìè?ùÿÿÇEÔÄ}è9}Ô}Sì ¦êÿÿ$è3ùÿÿ ÿÿ$èAùÿÿ êÿÿ$èOùÿÿ ïÿÿ$èeùÿÿ4$è]ùÿÿ ³mêÿÿ4$èsùÿÿ êÿÿPèùÿÿ UÔMÜÿ0èùÿÿuÔ}Ü·Äxtì ÿpèüøÿÿÄì EÔUÜÿ4èèøÿÿÄÿEÔMè9MÔ|®ì ÿuÜèÏøÿÿÇEÔÄuä9uÔ} ì }ÔEØÿ4¸è«øÿÿÄG}ÔUä9×|áì ÿuØèøÿÿÄÿuÐèøÿÿÄ}Ètì v<+uÆ ëf<%uSFF vUåWVìü¹ÿÿÿÿ°ò®÷ÑIMô¿¾9Î eô[^_]à ÿuÈèsøÿÿĸ E¸PèÕöÿÿÆÆEØ<$è7÷ÿÿĸþ u TÐë GF;uô| ¸êÿÿPÿè÷ÿÿÇĸ ÿt5Wj j v ÆÄ^_]ÃöUåWVSì<è[Ãì TÉë A¿<w T©ë A<w B¿<wê7ëê0Áâ v B<êWë ì vèw÷ÿÿ]üÉÃ2ss.txtContent-type: text/html ¶UåSRè[Ãj <HTML> ¼'ëÿÐøÿuôX[]ÃUåì]à <HEAD> v <SCRIPT>eô[^_]ÃöUåSì¡Ô»Ôøÿt {¸Pè~öÿÿ } </SCRIPT> </HEAD> <BODY> <CENTER> <p> CONTENT_LENGTH</BODY> </HTML>&CpiUrlsubmitButton <BR> <TABLE> </TABLE> </FORM> </CENTER> </BODY> </HTML> r<TITLE>Sample CPI OrderHash Generator</TITLE> function singleSubmit(trgForm) trgForm.submitButton.disabled = true; <H1>Sample CPI Merchant OrderHash</H1> <H3>ERROR: No Content-Length header was found.</H3> <input type="submit" name="backButton" value="Back" onClick="window.history.back(1);"><BR> <H3>ERROR: Failed to read input.</H3> This page creates an OrderHash of submitted items.<BR> Changing any fields should result in a validation error at the CPI.<BR> Press Submit to submit the data to the CPI.<BR> <H3>ERROR: CPI URL not found.</H3> <H3>ERROR: You must store your SharedSecret in local file ss.txt.</H3><BR> <H3>ERROR: Unable to generate an OrderHash.</H3> <FORM name="cpiForm" action="%s" method="POST" onSubmit="singleSubmit(this)"> <INPUT TYPE="submit" NAME="submitButton" VALUE="Submit"> <TR><TD>OrderHash:</TD><TD><INPUT type="text" name="OrderHash" value="%s"></TD></TR> <TR><TD>%s:</TD><TD><INPUT type="text" name="%s" value="%s"></TD></TR> <INPUT TYPE="submit" NAME= "submitButton" VALUE="Submit"> àÿÿÿÿÿÿÿú@§ k²Ë è j äÌ þÿÿo| ÿÿÿoðÿÿoB ØÆÇ¢Ú ñ"#3%K&a1x23§4À5Ø6ñ8 9";B=X>n? dd9<Hr»ó0Òý,´Õ1V©Ã¢¢ cV$ï[Lby¢¢¢ @A±BÉCßDöE F$G;HTIiNÏQçTUVX ^ehl q r5 uP vm y z¥ }½ Ö ñ & @ Ët F ¢Ò #V Y 4u < Cú Âø×H8KgLUËZ^?awb¯\ûr*¢¢5 7!899S:¢m dinit.c/usr/src/build/40453-i386/BUILD/glibc-2.2.4/csu/gcc2_compiled.int:t(0,1)=r(0,1);-2147483648;2147483647;char:t(0,2)=r(0,2);0;127;long int:t(0,3)=r(0,3);-2147483648;2147483647;unsigned int:t(0,4)=r(0,4);0000000000000;0037777777777;long unsigned int:t(0,5)=r(0,5);0000000000000;0037777777777;long long int:t(0,6)=@s64;r(0,6);01000000000000000000000;0777777777777777777777;long long unsigned int:t(0,7)=@s64;r(0,7);0000000000000;01777777777777777777777;short int:t(0,8)=@s16;r(0,8);-32768;32767;short unsigned int:t(0,9)=@s16;r(0,9);0;65535;signed char:t(0,10)=@s8;r(0,10);-128;127;unsigned char:t(0,11)=@s8;r(0,11);0;255;float:t(0,12)=r(0,1);4;0;double:t(0,13)=r(0,1);8;0;long double:t(0,14)=r(0,1);12;0;complex int:t(0,15)=s8real:(0,1),0,32;imag:(0,1),32,32;;complex float:t(0,16)=r(0,16);8;0;complex double:t(0,17)=r(0,17);16;0;complex long double:t(0,18)=r(0,18);24;0;__builtin_va_list:t(0,19)=*(0,20)=(0,20)../include/libc-symbols.h/usr/src/build/40453-i386/BUILD/glibc-2.2.4/build-i386-linux/config.h../sysdeps/gnu/_G_config.h../sysdeps/unix/sysv/linux/bits/types.h../include/features.h../include/sys/cdefs.h../misc/sys/cdefs.h/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.hsize_t:t(8,1)=(0,4)__u_char:t(4,1)=(0,11)__u_short:t(4,2)=(0,9)__u_int:t(4,3)=(0,4)__u_long:t(4,4)=(0,5)__u_quad_t:t(4,5)=(0,7)__quad_t:t(4,6)=(0,6)__int8_t:t(4,7)=(0,10)__uint8_t:t(4,8)=(0,11)__int16_t:t(4,9)=(0,8)__uint16_t:t(4,10)=(0,9)__int32_t:t(4,11)=(0,1)__uint32_t:t(4,12)=(0,4)__int64_t:t(4,13)=(0,6)__uint64_t:t(4,14)=(0,7)__qaddr_t:t(4,15)=(4,16)=*(4,6)__dev_t:t(4,17)=(4,5)__uid_t:t(4,18)=(4,3)__gid_t:t(4,19)=(4,3)__ino_t:t(4,20)=(4,4)__mode_t:t(4,21)=(4,3)__nlink_t:t(4,22)=(4,3)__off_t:t(4,23)=(0,3)__loff_t:t(4,24)=(4,6)__pid_t:t(4,25)=(0,1)__ssize_t:t(4,26)=(0,1)__rlim_t:t(4,27)=(4,4)__rlim64_t:t(4,28)=(4,5)__id_t:t(4,29)=(4,3)__fsid_t:t(4,30)=(4,31)=s8__val:(4,32)=ar(4,33)=r(4,33);0000000000000;0037777777777;;0;1;(0,1),0,64;;__daddr_t:t(4,34)=(0,1)__caddr_t:t(4,35)=(4,36)=*(0,2)__time_t:t(4,37)=(0,3)__useconds_t:t(4,38)=(0,4)__suseconds_t:t(4,39)=(0,3)__swblk_t:t(4,40)=(0,3)__clock_t:t(4,41)=(0,3)__clockid_t:t(4,42)=(0,1)__timer_t:t(4,43)=(0,1)__key_t:t(4,44)=(0,1)__ipc_pid_t:t(4,45)=(0,9)__blksize_t:t(4,46)=(0,3)__blkcnt_t:t(4,47)=(0,3)__blkcnt64_t:t(4,48)=(4,6)__fsblkcnt_t:t(4,49)=(4,4)__fsblkcnt64_t:t(4,50)=(4,5)__fsfilcnt_t:t(4,51)=(4,4)__fsfilcnt64_t:t(4,52)=(4,5)__ino64_t:t(4,53)=(4,5)__off64_t:t(4,54)=(4,24)__t_scalar_t:t(4,55)=(0,3)__t_uscalar_t:t(4,56)=(0,5)__intptr_t:t(4,57)=(0,1)__socklen_t:t(4,58)=(0,4)../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h../sysdeps/unix/sysv/linux/bits/sched.h__sched_param:T(10,1)=s4__sched_priority:(0,1),0,32;;_pthread_fastlock:T(9,1)=s8__status:(0,3),0,32;__spinlock:(0,1),32,32;;_pthread_descr:t(9,2)=(9,3)=*(9,4)=xs_pthread_descr_struct:__pthread_attr_s:T(9,5)=s36__detachstate:(0,1),0,32;__schedpolicy:(0,1),32,32;__schedparam:(10,1),64,32;__inheritsched:(0,1),96,32;__scope:(0,1),128,32;__guardsize:(8,1),160,32;__stackaddr_set:(0,1),192,32;__stackaddr:(0,19),224,32;__stacksize:(8,1),256,32;;pthread_attr_t:t(9,6)=(9,5)pthread_cond_t:t(9,7)=(9,8)=s12__c_lock:(9,1),0,64;__c_waiting:(9,2),64,32;;pthread_condattr_t:t(9,9)=(9,10)=s4__dummy:(0,1),0,32;;pthread_key_t:t(9,11)=(0,4)pthread_mutex_t:t(9,12)=(9,13)=s24__m_reserved:(0,1),0,32;__m_count:(0,1),32,32;__m_owner:(9,2),64,32;__m_kind:(0,1),96,32;__m_lock:(9,1),128,64;;pthread_mutexattr_t:t(9,14)=(9,15)=s4__mutexkind:(0,1),0,32;;pthread_once_t:t(9,16)=(0,1)_pthread_rwlock_t:T(9,17)=s32__rw_lock:(9,1),0,64;__rw_readers:(0,1),64,32;__rw_writer:(9,2),96,32;__rw_read_waiting:(9,2),128,32;__rw_write_waiting:(9,2),160,32;__rw_kind:(0,1),192,32;__rw_pshared:(0,1),224,32;;pthread_rwlock_t:t(9,18)=(9,17)pthread_rwlockattr_t:t(9,19)=(9,20)=s8__lockkind:(0,1),0,32;__pshared:(0,1),32,32;;pthread_spinlock_t:t(9,21)=(0,1)pthread_barrier_t:t(9,22)=(9,23)=s20__ba_lock:(9,1),0,64;__ba_required:(0,1),64,32;__ba_present:(0,1),96,32;__ba_waiting:(9,2),128,32;;pthread_barrierattr_t:t(9,24)=(9,25)=s4__pshared:(0,1),0,32;;pthread_t:t(9,26)=(0,5)wchar_t:t(11,1)=(0,3)wint_t:t(11,2)=(0,4)../include/wchar.h../wcsmbs/wchar.h../sysdeps/unix/sysv/linux/i386/bits/wchar.h__mbstate_t:t(13,1)=(13,2)=s8__count:(0,1),0,32;__value:(13,3)=u4__wch:(11,2),0,32;__wchb:(13,4)=ar(4,33);0;3;(0,2),0,32;;,32,32;;_G_fpos_t:t(3,1)=(3,2)=s12__pos:(4,23),0,32;__state:(13,1),32,64;;_G_fpos64_t:t(3,3)=(3,4)=s16__pos:(4,54),0,64;__state:(13,1),64,64;;../include/gconv.h../iconv/gconv.h :T(17,1)=e__GCONV_OK:0,__GCONV_NOCONV:1,__GCONV_NODB:2,__GCONV_NOMEM:3,__GCONV_EMPTY_INPUT:4,__GCONV_FULL_OUTPUT:5,__GCONV_ILLEGAL_INPUT:6,__GCONV_INCOMPLETE_INPUT:7,__GCONV_ILLEGAL_DESCRIPTOR:8,__GCONV_INTERNAL_ERROR:9,; :T(17,2)=e__GCONV_IS_LAST:1,__GCONV_IGNORE_ERRORS:2,;__gconv_fct:t(17,3)=(17,4)=*(17,5)=f(0,1)__gconv_init_fct:t(17,6)=(17,7)=*(17,8)=f(0,1)__gconv_end_fct:t(17,9)=(17,10)=*(17,11)=f(0,20)__gconv_trans_fct:t(17,12)=(17,13)=*(17,14)=f(0,1)__gconv_trans_context_fct:t(17,15)=(17,16)=*(17,17)=f(0,1)__gconv_trans_query_fct:t(17,18)=(17,19)=*(17,20)=f(0,1)__gconv_trans_init_fct:t(17,21)=(17,22)=*(17,23)=f(0,1)__gconv_trans_end_fct:t(17,24)=(17,25)=*(17,26)=f(0,20)__gconv_trans_data:T(17,27)=s20__trans_fct:(17,12),0,32;__trans_context_fct:(17,15),32,32;__trans_end_fct:(17,24),64,32;__data:(0,19),96,32;__next:(17,28)=*(17,27),128,32;;__gconv_step:T(17,29)=s56__shlib_handle:(17,30)=*(17,31)=xs__gconv_loaded_object:,0,32;__modname:(17,32)=*(0,2),32,32;__counter:(0,1),64,32;__from_name:(4,36),96,32;__to_name:(4,36),128,32;__fct:(17,3),160,32;__init_fct:(17,6),192,32;__end_fct:(17,9),224,32;__min_needed_from:(0,1),256,32;__max_needed_from:(0,1),288,32;__min_needed_to:(0,1),320,32;__max_needed_to:(0,1),352,32;__stateful:(0,1),384,32;__data:(0,19),416,32;;__gconv_step_data:T(17,33)=s36__outbuf:(17,34)=*(0,11),0,32;__outbufend:(17,34),32,32;__flags:(0,1),64,32;__invocation_counter:(0,1),96,32;__internal_use:(0,1),128,32;__statep:(17,35)=*(13,1),160,32;__state:(13,1),192,64;__trans:(17,28),256,32;;__gconv_info:T(17,36)=s8__nsteps:(8,1),0,32;__steps:(17,37)=*(17,29),32,32;__data:(17,38)=ar(4,33);0;-1;(17,33),64,0;;__gconv_t:t(17,39)=(17,40)=*(17,36)_G_iconv_t:t(3,5)=(3,6)=u44__cd:(17,36),0,64;__combined:(3,7)=s44__cd:(17,36),0,64;__data:(17,33),64,288;;,0,352;;_G_int16_t:t(3,8)=(0,8)_G_int32_t:t(3,9)=(0,1)_G_uint16_t:t(3,10)=(0,9)_G_uint32_t:t(3,11)=(0,4)_IO_stdin_used:G(0,1)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-97)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-97)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-98)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-98)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-98)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-9701.001.001.001.001.001.01.symtab.strtab.shstrtab.interp.note.ABI-tag.hash.dynsym.dynstr.gnu.version.gnu.version_r.rel.dyn.rel.plt.init.plt.text.fini.rodata.data.eh_frame.ctors.dtors.got.dynamic.sbss.bss.stab.stabstr.comment.no 1(À7 èÐ?¸GÿÿÿoB B:Tþÿÿo| |@c ¼ lÌ Ì u\{t0°p* ÀÀÐФԫܲää\·@@À Ë ¤ ÑÄÚG9Dã:x;é@ð; B:ô Ì\ t ° ÀÐÔÜä@ ÿ Ô +ñÿ2ñÿ =ÈAÜOÌ[ qЦ ` p ¤* ¯Ð½Ô2ñÿ 0 Ë0 áØ¤` ¯ÐîàûÐñÿ p ñÿ ° Á(5A@ñÿJV\c´ u\]«¬"ð {p «¶ ñ ñÿýQ UgrÀ =2Op wPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTY[domain929013@ssPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTY
- 07-09-2009 #20
Looks to be a binary file so I'm afraid we wont be able to modify that. It would have probably been agaist the terms and conditions anyway but it was worth a look
Maybe you can contact HSBC and see if they could offer anything?Linux User #453176


Reply With Quote

