Hey there
I'm just wondering if it's possible to modify the story
submission screen to allow the selection of multiple
categories (topics) for the story. I'm sure the code can
do it because it's possible to go back and add extra
categories *later*, but that's not so efficient and I'd like
to be able to do it from the initial entry screen. I can't
figure out what to change to incorporate that. Can you
help? My email is deslea@deslea.com.
While I have your ear, I have a bug report. This isn't a
huge problem for me because I have only a small
number of volunteer archivists and no-one using a public
computer. However, the logout function won't work for
me. I get this error:
-- quote --
Warning: Cannot add header information - headers
already sent by (output started at /
(path)/archivecentral/php/config.php:129) in /
(path)/archivecentral/php/logout.php on line 18
Warning: Cannot add header information - headers
already sent by (output started at /
(path)/archivecentral/php/config.php:129) in /
(path)/archivecentral/php/logout.php on line 19
-- end quote --
...and then I get returned to index.php still logged in. I
can't see anything wrong with the code in those places
(but then, I'm a PHP doofus).
I have had this double-header problem elsewhere, when
trying to jump from index.php to topics from the side
menus. That time, the double-up came from redir.php,
and I was able to fix that by removing this line:
-- quote --
header("Status: 200 OK");
-- quote --
Thanks! Deslea
Logged In: YES
user_id=55366
RE: Multiple Topics For Story
I had not thought of this yet (good idea), but I will add this for
a future release.
RE: Logout Function
Nobody has reported this yet, I will look into this. What is the
URL and what OS / server software are you using?
Thanks,
Scott
Logged In: NO
Hey there - thanks for the reply. Sorry I didn't get back to you
sooner - I'd made quite a few modifications since then and had
totally lost track of what I'd done. Figured it was fairer to do a
clean install before I asked you to look at it.
The only mods done now are
- cosmetic ones (footer, header, graphics)
- the commented-out header I mentioned above,
- a security modification - moving the config.php above the root
directory with an include statement in the root directory
config.php file pulling it in.
I was able to "logout" by deleting the cookie - and now, of
course, I can't log in again. So it looks like the cookies aren't
sticking.
Okay. The URL is here:
http://archivecentral.deslea.com/index.php
(for some reason the redirect to the php isn't working -
weirdness - so you need to add the index.php on the end. I
need to work that out too because it stuffs up the movements
back and forth. But that's beside the point for now).
I'm using Windows 98SE, with IE 5.5.
My server is using PHP 4.0.5 and MySQL 3.23.32.
Thanks - Deslea
Logged In: NO
Scott, I solved the problem.
The routine was apparently interpreting something in the
config.php file as a header. I have no idea what - I got rid of
excess white spaces and all the usual culprits. But my quick
and dirty fix was to use the ob_start and ob_flush functions in
the login and logout files. I added -
ob_start();
just under your licence statement, before any of the includes
and
ob_end_flush();
just before the closing ?> tag.
Hope this helps! Deslea
Logged In: YES
user_id=55366
I have not seen this problem or heard of anybody using this
solution. But hey it works! I have been able to login and
logout and it seems to work fine.
I will close this issue.
Thank you for the follow-up.
Scott
Logged In: YES
user_id=70673
I could possibly add the function you're looking for sometime here in the
future.
As for your logout problem. What version are you running?
If you want you can reach me at slydder at web dot de. I guess I should
update my user info here. ;)
later,