Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support help my n-13 new script can't work properly
1 2
echo21
Posted on 30 Jul 2012, 06:51:44

Access: Member
Total Posts: 8
Joined: 2012-07-20

it's still don't work chris :( .... I think I know where the mistake, ABSPATH should be "/home/sujsu537/public-html/news/" not "/home/suu537/public-html/news/" You can see in the picture that I attach previously. so where do I have to fix? thank's.....

#3922
Last edited by echo21 at 2012-07-30 06:57:04 Reason: edit ABSPATH
Chris
Posted on 30 Jul 2012, 07:02:40

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

If you edit config.php, towards the top you'll see where ABSPATH is defined, comment it out and replace it with your own path something like this

if(!defined('ABSPATH')){
    #define('ABSPATH', dirname(__FILE__) . '/' );
    define('ABSPATH', '/home/sujsu537/public_html/news/');
}
#3923
Last edited by Chris at 2012-07-30 07:05:14 Reason: .
echo21
Posted on 07 Aug 2012, 16:40:34

Access: Member
Total Posts: 8
Joined: 2012-07-20

[solve] i'm edit main.php, in the top of script i see where ABSPATH is defined, i'm replace it with my own like this :

session_name('n13news');
session_start();
$dirname = dirname(__FILE__);
$dirname = str_replace('js', '', $dirname);
#if(!defined('ABSPATH')){
    #define('ABSPATH',$dirname);
if(!defined('ABSPATH')){
    define('ABSPATH','/home/sujsu537/public_html/news/');
}

my dropdown menu in system now can be open, thank chris for your advice and your help...

#3931
1 2
Network-13.com © 2013