swiftintellect / IsVipi-OSSN

This is a free and open source project for social networking, community, dating and membership websites.
http://isvipi.org
1 stars 1 forks source link

anable to load css and javascript #4

Closed GaneshKandu closed 9 years ago

GaneshKandu commented 9 years ago

Hi ,Its Ganesh Kandu I have installed IsVipi-OSSN 1.3.0 on My Wamp but getting an error during page load css and javascripts are not getting load and working very well on lamp, please help I think i may know the region its due to wrong path of javascript and css i should may like /inc/style.lib/css/bootstrap.min.css but it seems like /inc/style.lib%5Ccss/bootstrap.min.css

IsVipiOfficial commented 9 years ago

Hi Ganesh. Unfortunately we no longer offer support for version 1.xx of IsVipi. Could you please kindly try the latest release though it is only out for testing? Version 1.xx has been depreciated

GaneshKandu commented 8 years ago

1- Hi , I am Trying to Install latest release ie. 2.0.0 of IsVipi-OSSN on Windows Machine in WAMP But After Installation My CSS and JS Unable to Load getting

error

urls are this "http://[[domain]]/isviki/isv_inc/isv_style.lib\default/js/jquery.js" whereas it should be "http://[[domain]]/isviki/isv_inc/isv_style.lib/default/js/jquery.js"

i Think Its May Be Due To "DIRECTORY_SEPARATOR" its GIVING WINDOWS DIRECTORY SEPARATOR ie. "\" whereas URL uses "/" because LINUX DIRECTORY SEPARATOR is this "/" That's Why Its Working in LInux

// directory paths
define('ISVIPI_ROOT', DOC_ROOT);
define('ISVIPI_INC_BASE', ISVIPI_ROOT . 'isv_inc' . DIRECTORY_SEPARATOR);
define('ISVIPI_DB_BASE', ISVIPI_INC_BASE . 'isv_db' . DIRECTORY_SEPARATOR);
define('ISVIPI_UPLOADS_BASE', ISVIPI_INC_BASE . 'isv_uploads' . DIRECTORY_SEPARATOR);
define('ISVIPI_STYLE_BASE', ISVIPI_INC_BASE . 'isv_style.lib' . DIRECTORY_SEPARATOR);
define('ISVIPI_CLASSES_BASE', ISVIPI_INC_BASE . 'isv_classes' . DIRECTORY_SEPARATOR);
define('ISVIPI_FUNCTIONS_BASE', ISVIPI_INC_BASE . 'isv_functions' . DIRECTORY_SEPARATOR);
define('ISVIPI_PROCESS_BASE', ISVIPI_INC_BASE . 'isv_processes' . DIRECTORY_SEPARATOR);
define('ISVIPI_PAGES_BASE', ISVIPI_INC_BASE . 'isv_pages' . DIRECTORY_SEPARATOR);
define('ISVIPI_THEMES', ISVIPI_ROOT . 'isv_themes' . DIRECTORY_SEPARATOR);
define('ISVIPI_MOBILE_THEME_BASE', ISVIPI_THEMES . 'mobile' . DIRECTORY_SEPARATOR);
define('ISVIPI_PLUGINS_BASE', ISVIPI_ROOT . 'isv_plugins' . DIRECTORY_SEPARATOR);
define('ISVIPI_LANG_BASE', ISVIPI_ROOT . 'isv_lang' . DIRECTORY_SEPARATOR);

of isv_init.php isv_loader.php

-2 My URL is Longer Than 30 Character column "s_url" varchar(30) of table "s_info" cuts my url and maintain size 30 so My URL getting wrong in url path That's Why My posted images i am not able to see

IsVipiOfficial commented 8 years ago

Noted Ganesh. With the latest updates, the size of the site url has been increased to 255. As for the "DIRECTORY_SEPARATOR" issue, it should still work on a windows platform.

GaneshKandu commented 8 years ago

Thanks to reply i am using firefox v.45.0.1 and its not working in it but yes its working on chrome v.49.0.2623.108 its not support in firefox

IsVipiOfficial commented 8 years ago

Thank you for pointing that out. The issues has been noted.