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 20 Jul 2012, 10:55:48

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

can't any one help me..my n-13 new script can't work properly, my dropdown menu in system can't be open, and i can't delete news and image?

news

!

delete

#3905
Last edited by echo21 at 2012-08-07 16:40:34 Reason: insert picture
Chris
Posted on 24 Jul 2012, 04:09:23

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

This means there may be a problem with your javascript file, can you access the news\js\main.js file directly from your browser to see what error messages it gives?

http://yoursite.com/news/main/js

#3907
echo21
Posted on 25 Jul 2012, 16:37:56

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

thank's for your answer chris, This error message is given :

there are no file main.js, only main.php chris...and i can't find folder news/main/js

any other suggestions, chris?

#3908
Chris
Posted on 26 Jul 2012, 05:00:49

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

Ah my fault, I meant main.php, open it in your browser to see if you can see any errors.

#3909
echo21
Posted on 26 Jul 2012, 18:00:19

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

yes, I can see some error there :

how i fix it, chris...thx's

#3910
BaDTaG
Posted on 26 Jul 2012, 21:55:26

Access: Member
Total Posts: 5
Joined: 2012-07-26

hi and first off thanks for the great scipt. i am integrating it on 2 off my sites.

but now i have eksaktly the same problem admin dropdown menus dont drop down. i got around it by editing the source code whit firebug and got it to show made my changes and that workd fine.

but still it is a pain in the b** to have to hit show details about element and the change style="display: none;" to style="display: yes;" on all the ones i want to open :-/

i am on a vps debian 6 apache 2.2something whit php via cgi (not apache modul)

so if you have a fix that enables it to show all al the time or can fix the dropdown issu that would be great

it seams to me that it is all the java-scripts that is broken or need updating. i cant delete the default n-13 news message (Welcome to N-13 News 4.0) but i can edit it (cant delete because i am unable to press the delete button after selecting delete)

Thanks joachim Dahl aka BaDTaG EDB-Eksperten.dk

EDIT.....Again

okay i fixd the problem here

not quite shure whitche one that dit it but i think is was the deletion off php.ini in nes and the news/js folder

i also editet main.php in js folder and removed / from include sektion and now it works

Cheers m8

#3911
Last edited by BaDTaG at 2012-07-26 23:23:12 Reason: Fixd
Chris
Posted on 27 Jul 2012, 06:14:32

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

BaDTaG, glad you got it working.

echo21, can you try the same thing, if you edit js/main.php and remove the slashes from the beginning of each require,

so

require_once(ABSPATH . '/db.php');
require_once(ABSPATH . '/config.php');
#require_once(ABSPATH . '/functions.php');
require_once(ABSPATH . '/langmsg.php');

becomes

require_once(ABSPATH . 'db.php');
require_once(ABSPATH . 'config.php');
#require_once(ABSPATH . 'functions.php');
require_once(ABSPATH . 'langmsg.php');
#3912
BaDTaG
Posted on 27 Jul 2012, 11:12:27

Access: Member
Total Posts: 5
Joined: 2012-07-26

Yes and delete php.ini in root of your n-13 news script installation and js folder instillation

that got it working for me on my vps

#3913
Last edited by BaDTaG at 2012-07-27 11:12:48 Reason: big fingers
echo21
Posted on 29 Jul 2012, 08:10:34

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

thank's for your unswer chris and BaDTaG , I've deleted php.ini in root of my n-13 news script installation and js folder instillation, I'm also edit my js/main.php become

require_once(ABSPATH . 'db.php');
require_once(ABSPATH . 'config.php');
#require_once(ABSPATH . 'functions.php');
require_once(ABSPATH . 'langmsg.php');

but it's not working for me...am i miss something?? I get this error :

#3919
Chris
Posted on 30 Jul 2012, 02:34:00

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

Try both of these to see if any work.

require_once(ABSPATH . '../db.php');
require_once(ABSPATH . '../config.php');
#require_once(ABSPATH . '../functions.php');
require_once(ABSPATH . '../langmsg.php');

If that doesn't work try

require_once(ABSPATH . '/home/suu5.7/public_html/news/db.php');
require_once(ABSPATH . '/home/suu5.7/public_html/news/config.php');
#require_once(ABSPATH . '/home/suu5.7/public_html/news/functions.php');
require_once(ABSPATH . '/home/suu5.7/public_html/news/langmsg.php');
#3920
1 2
Network-13.com © 2013