Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Cant add news

Asked Modified Viewed 3,243 times
S
subodh
S
subodh 10
I am learner keen to learn more.
---------------------------------------------------------

Gamers Worlds : The Worlds Of Gamers
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
asked
Junior Member

Hi,
My website quite working good for a year.
Now strange problem appear. Whenever i try to add news, it redirect to the main page.
That is : ?aid=xxxxxxxxxxxc key not working.

How May I correct this errror
0 replies

9 posts

C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

Is your admin rights working?
0 replies
S
subodh
S
subodh 10
I am learner keen to learn more.
---------------------------------------------------------

Gamers Worlds : The Worlds Of Gamers
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
answered
Junior Member

I can log in admin area and add news section also.
But redirection occur when I try to add news.
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

What is your PHP Fusion Version?

Check your site path. Is your site path correct?
0 replies
S
subodh
S
subodh 10
I am learner keen to learn more.
---------------------------------------------------------

Gamers Worlds : The Worlds Of Gamers
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
answered
Junior Member

I am using version v7.02.07
Site path is unchanged since installation. The problem is occurring for last month.
I am attaching path setting
subodh attached the following file:
untitled_7.png [No information available / 96 Downloads]
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

We'll try 2 fold solution:

Take this file : https://github.com/PHPFusion/PHPFusion/blob/7.02.07/administration/news.php

Replace this file and check if the file is correctly uploaded.

Also, run this code anywhere before : https://github.com/PHPFusion/PHPFusion/blob/7.02.07/administration/news.php#L292

Copy and Paste in:

// Function to check aidlink consistency
function run_me() {
global $aidlink;
if (!empty($_GET['aid']) {
$current_system_aid = $_GET['aid'];
} else {
die('NO AID');
}
echo "<strong>iAUTH</strong> now is ".iAUTH."<br/>\n";
echo "<strong>AID now is</strong> now is ".$_GET['aid']."<br/>\n";
if (iAUTH != $_GET['aid']) {
echo "You got a problem with IAUTH keys.";
} else {

// now check your redirect path
$redirect_path = FUSION_SELF.$aidlink;
echo "<strong>$redirect_path</strong>\n<br/> is correct?";

}
}
// run the function
run_me();


1. Check your administrator account . User Level must be 103,
2. Your redirect path is correct or not finally.
3. You need to find the redirect() function and comment it with 2 double forward slash "//" as well to run the test when Post here:
https://github.com/PHPFusion/PHPFusion/blob/7.02.07/administration/news.php#L150
https://github.com/PHPFusion/PHPFusion/blob/7.02.07/administration/news.php#L143

If it is still redirecting, there MIGHT be a panel running that is hindering you from posting. Disable all panels and try again.
0 replies
S
subodh
S
subodh 10
I am learner keen to learn more.
---------------------------------------------------------

Gamers Worlds : The Worlds Of Gamers
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
answered
Junior Member

I tried it. It gives me blank page. When clicking on "administration/news.php"
I have ensured that I have followed all your instruction.
I have tested I can add articles and extra pages. Problem only lies with news.

Merged on Apr 02 2017 at 05:05:32:
I have tried fresh installation. It also gives the same error.
I cant add news
Edited by subodh on 02-04-2017 05:05,
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

See if your host changed PHP Version, maybe you can downgrade it some? around 5.5 should work. Fusion 7 won´t run to well on the latest PHP Versions.
0 replies
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
answered
Senior Member

Did you try with a default theme like Gilette? I have similar problems with non default themes.
0 replies
S
subodh
S
subodh 10
I am learner keen to learn more.
---------------------------------------------------------

Gamers Worlds : The Worlds Of Gamers
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
answered
Junior Member

Yes , I have tried fresh installation and still get the error. I think it's problem with server. But I cant get any error log file so I can get the idea.
News addition can be done via member submission. It's only problem with "administration/news.php"
No files have been altered. I have tested with fresh install.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 9 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

F
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
S
S
subodh 10
I am learner keen to learn more.
---------------------------------------------------------

Gamers Worlds : The Worlds Of Gamers
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
W
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet