Log in

View Full Version : Javascript side of forum not working?


thelulz
01-05-2009, 01:38 PM
My forum is running Version 3.7.3, my control panel permissions are fine and most of the site is working. However it seems most of the javascript side of the forum isn't working:

Lynne
01-05-2009, 03:07 PM
Create a new style with no parent - Styles & Templates > Style Manager > Add New Style > no parent - then browse the site using that totally default vbulletin style - do you still have the same problem?

If it is still happening, then try disabling your plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

thelulz
01-05-2009, 04:30 PM
Made a new style but still have the same problem. Also where do I find the config.php file in my home directory?

Lynne
01-05-2009, 04:36 PM
The config file is in the includes directory in your forums directory.

thelulz
01-05-2009, 04:59 PM
Okay I put the code under the <? php and checked the forum - the issue remains. I'd like to stress that I've fine checked my whole directory for permissions issues on the control panel side of things and everything is OK. The .js files are present in their targeted folder (as stated in the source code) and they have 0644 permissions.

Due to a hacking attempt I moved all public_html containing files/folders into a secure folder and temporarily locked it up. I recently removed them back into their former place. Don't know if that makes any difference seeing as they are definitely in the right place. If you want I could show you the forum.

Lynne
01-05-2009, 05:23 PM
So this problem started after you did this move? Have you checked the permissions on the files? Take a look at one of the pages you are having the problem on, look in the source code and see which files are called. Then, see if you can view these files in your browser or if you get a Do Not Have Permission error. Do this for all the files.

thelulz
01-05-2009, 05:32 PM
For the most part I get:

Forbidden
You don't have permission to access /clientscript/yui/yahoo-dom-event/yahoo-dom-event.js on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

When attempting access from www. The support representative configured these permissions, files are 644 and folders are 755.

Lynne
01-05-2009, 05:52 PM
You are positive that those are the permissions? Is there an .htaccess file in any of those directories that is perhaps blocking permission (you need to have your ftp client allowed to see hidden files in order to see an .htaccess file)? Try uploading those files directly from your computer and see if then you have permission to access them.

thelulz
01-05-2009, 05:55 PM
I'm absolutely sure. The /clientscript directory has no .htaccess file inside it and the files containing are viewable by cPanel and FTP. It seems to be only this folder on my server affected. Everything else loads fine. Administrator and Moderator panels work fine as well for everything else on the forum. Just posting, visitor message and anything javascript related.

Lynne
01-05-2009, 06:18 PM
Something is blocking them from being viewed. Do you have a managed server? Perhaps you should put in a support ticket to your host about this.

thelulz
01-05-2009, 06:26 PM
I have, I'll post back with the results.

--------------- Added 1231188947 at 1231188947 ---------------

Apparently all the directories are fully responsive?

Bellardia
01-05-2009, 07:14 PM
Your domain is password secured at the moment, so its not possible to access the files by www without authenticating, or thats what it leads me to believe.

If the paths are absolute then vb can't reference the files.

I can't view your homepage so again, its just a guess.