• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net

Force ads on accounts automatically for FREE with cpanel ...

[JSH]John

JSHosts.com
NLC
All fixed now, thanks :). I've just downloaded winscp, I copied and pasted the code into pico on putty so that's probably what caused the problems lol.
 

ppx

New Member
Is it possible to upload this again?

I've been trying to access both links in the thread with no success.

Thanks :)
 

soundey

New Member
Please could you help me get this working?

I have followed all the steps yet it doesnt seem to display the adverts

i dont get any errors, and from what i can see all is set up ok

Thanks
 

Patrick

New Member
Joe, FHM was working fine a few days ago, however today when I try to access it I get this message:
License Error: Invalid license key. Please contact your software vendor for support.
Any help would be greatly appreciated! :)

I also tried ordering a new license, but I'm getting the same error with the new license key... :(

Edit: My mistake, didn't see the other topic, sorry.
 
Last edited:

krakjoe

stop staring
NLC
For everyone else with that problem, you need to download sources again from freehostmanager.com client area, we changed slightly the way we build new versions and this affected old licenses and also the ionCube license ....
 

Dan

Bullah
NLC
I tried installing Mod Layout following your tut Joe but being honest and truthful, I am stuck.
Getting nothing but errors.
 

krakjoe

stop staring
NLC
show me errors .... I will analyze and interpret them for you ....

analyze and interpret
analyze and interpret
analyze and interpret
analyze and interpret
analyze and interpret
analyze and interpret
 

Dan

Bullah
NLC
Ah the usual bull---- you get in SSH like,

No such file or directory
No such command, blah blah blah
 

Richard

CRM Consultant
Premium Member
Ah the usual bull---- you get in SSH like,

No such file or directory
No such command, blah blah blah
Or more exact:

Code:
[root@freeserver mod_layout-3.2]# cd /tmp/
[root@freeserver tmp]# wget http://download.tangent.org/mod_layout-3.4.tar.gz
--23:28:15--  http://download.tangent.org/mod_layout-3.4.tar.gz
           => `mod_layout-3.4.tar.gz'
Resolving download.tangent.org... 216.39.139.198
Connecting to download.tangent.org|216.39.139.198|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 41,454 (40K) [application/x-gzip]

100%[====================================>] 41,454        24.26K/s

23:28:18 (24.22 KB/s) - `mod_layout-3.4.tar.gz' saved [41454/41454]

[root@freeserver tmp]# tar xzf mod_layout-3.4.tar.gz
[root@freeserver tmp]# cd mod_layout*
[root@freeserver mod_layout-3.4]# make
`apxs -q CC` -I`apxs -q INCLUDEDIR` `apxs -q CFLAGS`   -c mod_layout.c -Wall
/bin/sh: apxs: command not found
/bin/sh: apxs: command not found
/bin/sh: apxs: command not found
/bin/sh: -I: command not found
make: *** [mod_layout.o] Error 127
[root@freeserver mod_layout-3.4]# declare PATH=$PATH:/usr/local/apache/bin
[root@freeserver mod_layout-3.4]# make
`apxs -q CC` -I`apxs -q INCLUDEDIR` `apxs -q CFLAGS`   -c mod_layout.c -Wall
`apxs -q CC` -I`apxs -q INCLUDEDIR` `apxs -q CFLAGS`   -c utility.c -Wall
`apxs -q CC` -I`apxs -q INCLUDEDIR` `apxs -q CFLAGS`   -c origin.c -Wall
`apxs -q CC` -I`apxs -q INCLUDEDIR` `apxs -q CFLAGS`   -c layout.c -Wall
apxs -c  mod_layout.o utility.o origin.o layout.o
gcc -shared -o mod_layout.so mod_layout.o utility.o origin.o layout.o
[root@freeserver mod_layout-3.4]# make install
strip mod_layout.so
apxs -i -a -n 'layout' mod_layout.so
[activating module `layout' in /usr/local/apache/conf/httpd.conf]
cp mod_layout.so /usr/local/apache/libexec/mod_layout.so
cp: cannot create regular file `/usr/local/apache/libexec/mod_layout.so': Text file busy
apxs:Break: Command failed with rc=1
make: *** [install] Error 1
[root@freeserver mod_layout-3.4]#
 

krakjoe

stop staring
NLC
do

Code:
which apxs
open the Makefile of mod_layout and change the line that reads ( root of source structure )

Code:
APXS=apxs
to reflect the proper path of apxs, for example

Code:
APXS=/usr/local/apache/bin/apxs
EDIT: are you not using apache2, you know there are different versions of mod_layout for different versions of apache, I thought everyone was running 2 now ??
 
Last edited:

M Bacon

New Member
I feel like giving up on this seriously.....I am using IPanel to force ads and its a pain in the arse....I'll give you root access krakjoe and IPanel access if you have time.
 
Top