Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.


Postby Guest » Wed Aug 18, 2004 9:03 am

It turns out I need the following statement for the "rst_getMetadata" function (in the 'rstconfig.inc.php' file) to work:

define('RST_LOADED', 1);

But if I include that statement in my code, I keep getting "ACCESS DENIED" on the resulting webpage. If I try to include the rstconfig.int.php or main.inc.php files I get the same thing. I've included the include/common.php file.

I ended up including the rst.php file which has the 'define...' statement in it, but I don't need all the code from that file, just the code that makes the rst_getMetadata function work. Please advise.


Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Postby kevin » Wed Aug 18, 2004 8:47 pm

That define statement is used to prevent direct access to certain RST PHP files.

Return to “OJS Editorial Support and Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests