Double Path

I need help:

Before I click the send button the Link looks like this:
http://localhost/backend/login.php?function=show_login_form

When I klick send button
http://localhost/backend/localhost/backend/?empty_search_variables=1

Now when I delete localhost/backend in the browser
http://localhost/backend/?empty_search_variables=1
I am in the interface

Installed on blank xmapp with wordpress in the same database.

Greetings
 

eugenio

Administrator
Staff member
Hello,
it probably means you set a wrong $site_url or $site_path in config.php
 
Hi,
this is what I also thought. If I try other combinations the Installer will not start. Dadabik is installed on localhost/backend/ and this is what is wirtten in config:

// DaDaBIK complete url (e.g. http://www.mysite.com/john/dadabik/)
$site_url = 'localhost/backend/';

// DaDaBIK url path (e.g. if $site_url is http://www.mysite.com/john/dadabik/ this must be /john/dadabik/, put slashes at the beginning and at the end; put just one slash '/' if DaDaBIK is installed in the root of a Website, e.g. for a $site_url like http://www.mysite.com) *** PLEASE NOTE THAT THIS IS NOT THE PHYSICAL PATH IT IS JUST THE LAST PART OF $site_url ***
$site_path = '/backend/';
 

eugenio

Administrator
Staff member
It is actually wrong, I guess the correct one for your installation is http://localhost/backend/
 
Sorry my falt. In Site URL I did not wirte the http:// I thougt i do not need it because of the local instatallation. I also get this warning:

Warning: call_user_func() expects parameter 1 to be a valid callback, function 'dadabik_artists' not found or invalid function name in C:\xampp\htdocs\backend\include\business_logic.php on line 4402
 

eugenio

Administrator
Staff member
It means you set a custom formatting function dadabik_artist in form configuration and then you didn't write the code of function itself.
 
Top