trappedinspacetime / wikiteam

Automatically exported from code.google.com/p/wikiteam
0 stars 0 forks source link

Error backing up login-to-read wiki (checkIndexphp can't access config ) #80

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to back up a wiki that needs login to read
2.
3.

What is the expected output? What do you see instead?

The expected output is to successfully create a back up if the proper cookies 
are given, and if not, the error message: "ERROR: This wiki requires login and 
we are not authenticated"

Instead, I get: "global name 'config' is not defined.

What version of the product are you using? On what operating system?

Whatever version was linked to on the Manual:Backing_up_a_wiki page a few days 
ago (11/27/13). Windows 7

Please provide any additional information below.

The function "checkIndexphp" does not have access to config which it tries to 
use, so passing it in is a quick two line fix, however, I didn't manage to 
figure out how to get it to properly use cookies once this was fixed.

Attached is the file with the two changes

Original issue reported on code.google.com by JPHy...@gmail.com on 27 Nov 2013 at 10:23

Attachments:

GoogleCodeExporter commented 8 years ago
Ahem, sorry for the config mistake. Can you svn up and check the error with 
login again please?

Original comment by nemow...@gmail.com on 25 Jan 2014 at 10:46

GoogleCodeExporter commented 8 years ago
No apologies necessary. Thanks for your work on the project!

I downloaded the newer version and although I still haven't bothered to figure 
out how to point it to the right cookies, it did at least give the right error.

Original comment by JPHy...@gmail.com on 31 Jan 2014 at 10:37