After editing, redirection goes to a blank page

snowball77

New member
Hi,
I have noticed that when I save an edited record, the new page it redirects to is blank.
I would like it to redirect to the index.php page within dadabik.
Any ideas?
 

snowball77

New member
Hi,

This is the page its trying to get to after I click save

http://threerobots.com/manage/index.php?table_name=events&function=update&where_field=ID&where_value=42

which comes up blank.

The variables in config that I think I need to change are:

// DaDaBIK complete url (e.g. http://www.mysite.com/path_to_dadabik/)
$site_url = 'http://threerobots.com/manage/index.php';

// DaDaBIK url path (e.g. if $site_url is http://www.mysite.com/path_to_dadabik/ this should be /path_to_dadabik/)
$site_path = '/manage/index.php';

Am I missing something?
DebbieS wrote:

> Double check your path and directory variables in config.php.
>
>
 

DebbieS

DaDaBIK Guru
Remove the "index.php" part from both $site_url and $site_path. Per the sample comments in config.php file, these paths should end with a slash "/".

 

snowball77

New member
That is what I had originally and I changed it to have the index.php thinking I had made an error. Both version do not make the page redirect to
http://threerobots.com.au/manage/index.php

???
 

DebbieS

DaDaBIK Guru
You didn't change the dadabik_main_file variable in config.php? DaDaBIK appends the databik_main_file to the site_url/path when writing redirections. Including the "index.php" in your path variables would make your URL http;//threerobots.com/manage/index.phpindex.php..... which would not make sense to the server.

If you would provide me with an admin userID and password (offline direct to my email with the subject including your domain name and DaDaBIK Forum id, I'd be willing to have a look at this for you.

If this is not something you're comfortable with, post here the URLs from the address bar for:

1--- URL in address bar when viewing the edit record page (prior to editing)

and

2--- URL in address bar after edit has been submitted

Perhaps it may be enough to see the URLs to see where the problem may be.

 

snowball77

New member
Before giving you all the details I will send the URLS first.


This is the URL prior to edit:
http://threerobots.com/manage/index.php

This is the URL when viewing editing:
http://threerobots.com/manage/index.php?table_name=events&function=edit&where_field=ID&where_value=42&PHPSESSID=8567acedf83d586c29c0f2b567ee3aa4

This is the URL it trys to go to after:

http://threerobots.com/manage/index.php?table_name=events&function=update&where_field=ID&where_value=42
 

DebbieS

DaDaBIK Guru
Top