Nucleus Support Forum Index

Find on the forum:
any terms  all terms  Advanced Search

RSS 2.0
Browse posts: Unanswered | Mark all read

« »
Loading Nucleus FAQ ticker...
Post new topic Reply to topic
Author Message
garthswest
Nucleus Fan


Joined: 13 Jul 2009
Posts: 40

Post Posted: Mon Aug 24, 2009 7:54 am   Post subject:
Reply with quote

I logged on to the live site with the admin login and when i clicked 'add an item' i received the following error:

Your browser sent a request that this server could not understand.

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

The URL is:
http://www.mo-jo.co.za/%3C%addlink()%%3E

Also when i try to add a new user via the admin section i get the following error:
INSERT command denied to user 'mojoco_ncls1'@'localhost' for table 'pun_users'

Thnks

Back to top

View user's profile Send private message
ftruscot
Nucleus Guru
Nucleus Guru


Joined: 22 Feb 2006
Posts: 7449
Location: Massachusetts

Post Posted: Mon Aug 24, 2009 12:59 pm   Post subject:
Reply with quote

The addlink problem is that the addlink skinvar isn't being parsed. Can you show me the skin code for the add item link?

The second is because your db user for the nucleus db, does not have access to your punbb database. I assume you are using a plugin like NP_PunBB to integrate users between the two. It would probably be easier if both programs used a single database.

_________________
Is your question not solved yet?
Search our FAQ,
read the Documentation, or
browse the list of available plugins.

Check out my plugins

Back to top

View user's profile Send private message Visit poster's website
garthswest
Nucleus Fan


Joined: 13 Jul 2009
Posts: 40

Post Posted: Mon Aug 24, 2009 1:21 pm   Post subject:
Reply with quote

Are you referring to the Item Pages skin code? If so here it is:
Code:
<%parsedinclude(head.inc)%>

<!-- page header -->
<%parsedinclude(header.inc)%>

<!-- page content -->
<div id="container">
<div class="content">
<%item(default/item)%>
</div>
<div class="content">
<div class="contenttitle">
<h2>Comments</h2>
</div>
<a name="c"></a>
<%comments(default/item)%>
</div>
<div class="content">
<div class="contenttitle">
<h2>Add Comment</h2>
</div>
<%commentform%>
</div>
</div>

<!-- page menu -->
<h2 class="hidden">Sidebar</h2>
<div id="sidebarcontainer">
<%parsedinclude(sidebar.inc)%>
</div>

<!-- page footer -->
<%parsedinclude(footer.inc)%>


Fixed up the punbb issue, thanks

Back to top

View user's profile Send private message
ftruscot
Nucleus Guru
Nucleus Guru


Joined: 22 Feb 2006
Posts: 7449
Location: Massachusetts

Post Posted: Mon Aug 24, 2009 1:29 pm   Post subject:
Reply with quote

it's probably in the sidebar.inc file. I just need the code for the line that includes the addlink skin variable.
_________________
Is your question not solved yet?
Search our FAQ,
read the Documentation, or
browse the list of available plugins.

Check out my plugins

Back to top

View user's profile Send private message Visit poster's website
garthswest
Nucleus Fan


Joined: 13 Jul 2009
Posts: 40

Post Posted: Mon Aug 24, 2009 1:48 pm   Post subject:
Reply with quote

Code:
<!-- admin link, only visible if logged in -->
<%if(loggedin)%>
<dd><a href="<%adminurl%>" title="Admin Area">Admin</a></dd>
<dd><a href="<%addlink%>" onclick="<%addpopupcode%>" title="Add an item to your blog">Add an item</a></dd>
<%endif%>
</dl>
</div>

Back to top

View user's profile Send private message
ftruscot
Nucleus Guru
Nucleus Guru


Joined: 22 Feb 2006
Posts: 7449
Location: Massachusetts

Post Posted: Mon Aug 24, 2009 3:10 pm   Post subject:
Reply with quote

Does the admin link above it work? Nothing looks wrong there, but from the link you posted above it appears <%addlink%> is being encoded oddly and not parsed. Could I be given a member account and added to the blog team? Send to my gmail.com address, username is ftruscot
_________________
Is your question not solved yet?
Search our FAQ,
read the Documentation, or
browse the list of available plugins.

Check out my plugins

Back to top

View user's profile Send private message Visit poster's website
garthswest
Nucleus Fan


Joined: 13 Jul 2009
Posts: 40

Post Posted: Mon Aug 24, 2009 3:23 pm   Post subject:
Reply with quote

Do you need admin rights?

I think the URL for this link should read:
www.mo-jo.co.za/bookmarklet.php?blogid=1

Back to top

View user's profile Send private message
PakTrik
Nucleus Addict


Joined: 07 May 2008
Posts: 89

Post Posted: Mon Sep 07, 2009 8:31 am   Post subject:
Reply with quote

I tried this embedding and everything works fine except for this error generated on clicking "Create Account"

Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/londohco/public_html/weblog/nucleus/libs/PARSER.php:68) in /home/londohco/public_html/weblog/nucleus/libs/globalfunctions.php on line 1845


I tried for hours to find a solution
- changing from ansi to utf8 and backwards
- checking if there is anything in front of <?php or behind ?> using html-kit
- changing the url in register.php from full url to relative
but I can't find the problem.

This is the code in line 1845 (globalfunctions)
Code:
   header('Location: ' . $url);


Hope someone can help.

greetz

Back to top

View user's profile Send private message
ftruscot
Nucleus Guru
Nucleus Guru


Joined: 22 Feb 2006
Posts: 7449
Location: Massachusetts

Post Posted: Mon Sep 07, 2009 2:14 pm   Post subject:
Reply with quote

What's line 68 of PARSER.php?

I think it's likely that the issue is in register.php file, but you've checked the normal causes already. Could you zip the register.php file and email it to my gmail.com account, username is ftruscot

_________________
Is your question not solved yet?
Search our FAQ,
read the Documentation, or
browse the list of available plugins.

Check out my plugins

Back to top

View user's profile Send private message Visit poster's website
PakTrik
Nucleus Addict


Joined: 07 May 2008
Posts: 89

Post Posted: Mon Sep 07, 2009 4:34 pm   Post subject:
Reply with quote

Line 68, PARSER.php goes:

Code:
         echo $pieces[$idx];


I zipped the register.php and sent it over.

Thanks in advance for the assistance.

greetz,

Back to top

View user's profile Send private message
Post new topic Reply to topic
Display posts from previous:   

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next

Page 6 of 7

All times are GMT + 1 Hour

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group