Loading...
 
Architecture / Installation

Architecture / Installation


"no page indicated" on wiki edit

posts: 4

For some reason anfter doing what mostly appears to be a good install, attempting to edit the wiki home page yeilds an error saying "no page indicated" and no updates getting posted. i looked in the script and the only way that happens is if the "page" vaiable isn't set, but it looks like it was set as a hidden variable in the form.

for what its worth, here is what seems to work and what doesn't:

forums works (adding a forum and articles and comments)
adding uses in the admin interface works
adding groups, and assigning users to groups works
reading the table of topics works


adding a topic via the admin page fails — redisplays the form with empty fields, and no added topic
adding an article fails — it goes back the form with empty fields, no error, but no posted article
editing an article fails — same as for adding
editing a wiki page gets a "no page indiciated" error

is there a log file somewhere that will help?

posts: 2

hi

i'm sorry i cannot help - i am having very similar problems and i thought that if i register this on the board, others may come forward and eventually somebody might HELP!!

Most of my site looks ok, but crucial elements do not work.

The Wiki homepage does not appear, all i get is the left menu bar. When i find the page with the option to Edit the homepage, again - blank screen apart from the menu. Quite a few options do this....
I cannot create new galleries etc, though the blog section seems to be working fine.

On many of the admin screens i get the row of icons across the top but nothing else!

In admin mode - these appear:
Features
Login
Wiki (but the wiki itself does not appear!)
image gallery (but i cannot create a new gallery)
file gallery
blogs
polls
rss
articles
faq
trackers
directory
user files

All these do NOT even appear:
General
Forums
Webmail


I find it curious how my file gallery bit seems to work fine - i can create new galleries and upload files, but the image gallery won't let me create a new gallery.

Anyone got any ideas ??


posts: 4

I have no idea if this helps, but to do some debugging, I hacked around in tiki-editpage.php. i changed

if(!isset($_REQUEST%22page%22)) {
$smarty->assign('msg',tra("No page indicated (xxx)"));
$smarty->display("styles/$style_base/error.tpl");
die;
} else {
$page = $_REQUEST%22page%22;
$smarty->assign_by_ref('page',$_REQUEST%22page%22);
}


to

if(!isset($_REQUEST%22page%22)) // ltc testing variables, baby
{
if(!isset($_REQUEST%22edit%22)) {
$smarty->assign('msg',tra("No edit set (xxx)"));
$smarty->display("styles/$style_base/error.tpl");
die;
}
$smarty->assign('msg',tra("No page indicated (xxx)"));
$smarty->display("styles/$style_base/error.tpl");
die;
} else {
$page = $_REQUEST%22page%22;
$smarty->assign_by_ref('page',$_REQUEST%22page%22);
}

just to see if the "edit" variable made it through. it did not. i also noticed that all the form variables are going to the server in the format:

Content-Disposition: form-data; name="page"

HomePage

I have no idea if that is normal, but I'm starting to think that Apache isn't passing those variables to the tiki script for some reason.

Can anyone point me in the right direction?


posts: 4

Ahhh....progress.

I noticed that all the forms that fail also have a field to upload an image or an html page. Did some more testing and i see this line in apache's error log:

Sat Sep 20 09:18:06 2003 error PHP Warning: File uploads are disabled in Unknown on line 0

i looked in /etc/php.ini and have these configs:

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = /tmp

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M

As far as i know, there isn't anything else to set in that file, and no service that i need to "restart".

can anyone help now?


posts: 224 Ireland

I am not a PHP expert but what does your phpinfo() show for register_globals? Try switching it on and see what happens?

Regards,

Pat.


posts: 4


Problem solved...I'm an idiot. Turns out I did have the correct settings in /etc/php.ini listed below, but i failed to restart apache after the change. Those changes let it all work just fine.

Maybe someone else can learn from my stupidity.