Loading...
 
Architecture / Installation

Architecture / Installation


Javascript sourcing problems when Tiki is installed with cpanel

posts: 3

Hi Folks,

I got a new web-host and I decided to add a tikiwiki installation to my site.

Is anyone aware of any problems with cpanel / apache and sourcing javascript? Even on a default install, the php pages can't access (i'm guessing!) the tiki-js.js javascript file, as the insertAt function (for example) is not found.

I'm guessing it's an Apache problem as similar strange things are happening in mambo.

Anyone got any ideas of how it could be fixed?
Thanks for your help!
All the best,
Ash

--
http://www.siroccoracing.com

posts: 2881 United Kingdom

I believe that the latest cpanels are blocking access to our tikiwiki /lib/ folder which is where the tiki-js.js lives.

You would need to move that somewhere else and then change the code to reflect its new location.

Damian
http://free.tikihost.net

posts: 3

> I believe that the latest cpanels are blocking access to our tikiwiki /lib/ folder which is where the tiki-js.js lives.
>
> You would need to move that somewhere else and then change the code to reflect its new location.
>
> Damian
> http://free.tikihost.net
>

Thanks Damian. Do you know if the lib file has to be moved outside the apache "cgi-bin" folder, which I guess in my installation is /public_html . What address would the lib folder have (in the script tag) if I put it in /lib instead of /public_html/tiki/lib.

What is causing cpanel to block the lib folder? Do you know the reason (In order that I can fix it for mambo too, which has a similar problem).

Thanks again!
Ash


posts: 3

Oh, there is a cgi-bin in public_html as well...hmm. I'm going to try the lib dir in /public_html

Thanks
Ash


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting