Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application not working #2

Open
ferrycode opened this issue Jul 24, 2013 · 1 comment
Open

Application not working #2

ferrycode opened this issue Jul 24, 2013 · 1 comment

Comments

@ferrycode
Copy link

i intalled the directory of the application direct under wamp apache server over widows, i pointed the browser to http://localhost/marceditor/ it shows the following message: Valid config file should be specified.", seems it hang up in the following code lines (60,67) in index.php
if ((isset($config) && strlen($config)) ) {
$basedir = dirname($config);
if (! $marceditorTools->parseConfig($config)) {
die("Valid config file should be specified.");
}
} else {
die("Valid config file should be specified.");
}

as well it looking for config file which i can not recognize where is it ... any help ?

@kosmasgiannis
Copy link
Owner

The MARCEditor should be called with the config file as input parameter like this:

http://www.example.com/path_to_marceditor/index.php?fieldtype=MARC&config=./etc/marceditor.cfg

The sample configuration marceditor.cfg is located in the etc directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants