phpDivinglog 2.1 problems
phpDivinglog 2.1 problems
Hi all,
I'm testing out the phpDivinglog 2.1 and have some problems. when clicking on the divenumber nothing happens. Please look at site http://divelog.helm.no
please help..
I'm testing out the phpDivinglog 2.1 and have some problems. when clicking on the divenumber nothing happens. Please look at site http://divelog.helm.no
please help..
Your webroot is not correct
Your url is: http://divelog.helm.no/
However you set it to:
http://divelog.helm.no/divelog'
As seen in your source[/code]
Your url is: http://divelog.helm.no/
However you set it to:
http://divelog.helm.no/divelog'
As seen in your source
Code: Select all
<script type="text/javascript">
function open_url(index, link){
window.location.href = 'http://divelog.helm.no/divelog' + link + index ;
}
</script>
I've copied all files in both folders. Under divelog.helm.no and divelog.helm.no/divelog. I've also tried changing the $_config['abs_url_path'] = ''; and also to $_config['abs_url_path'] = '/divelog';
Also changed the $_config['web_root'] = 'http://divelog.helm.no';
/** acording to the correct $_config['abs_url_path']
It is still not working for me.
Also changed the $_config['web_root'] = 'http://divelog.helm.no';
/** acording to the correct $_config['abs_url_path']
It is still not working for me.
Last edited by ehelm on Mon Sep 22, 2008 08:11, edited 1 time in total.
Ok, probably found the problem, since this looks like a windows server.
In version 2.1.1 an error is fixed where the directory separator was fixed (not depending on the OS).
Details: http://rob.lensen.nu/WebSVN/comp.php?re ... []=%2F@206
New version: http://rob.lensen.nu/devdoc/phpDivinglog-2.1.1.tar.gz
When you tried the new version can give info about your config file (like this:)
In version 2.1.1 an error is fixed where the directory separator was fixed (not depending on the OS).
Details: http://rob.lensen.nu/WebSVN/comp.php?re ... []=%2F@206
New version: http://rob.lensen.nu/devdoc/phpDivinglog-2.1.1.tar.gz
When you tried the new version can give info about your config file (like this:)
Code: Select all
/**
* change this to your website url
*/
$_config['web_root'] = 'http://www.mydivesite.com/divelog';
/**
* Your path where divelog is located
* EXAMPLE: http://www.foo.com/users/j/jo/john
* abs_url_path = /users/j/jo/john
* Nothing todo where phpdivinglog is installed on your harddrive!
*/
$_config['abs_url_path'] = '/divelog';
/**
* See below for more file location settings
*/
Otherwise try to switch to old style url's
Set this value to true
Set this value to true
Code: Select all
/**
* Some hosts don't support mod_rewrite, so we must have option to use old
* query strings like ?id=&user=
* If query_string = false normal rewrite is used, if set to true query string is used
*/
$_config['query_string'] = false;
Uploaded new tar. We are getting somewhere, now the piechart workes under Dive Statistics. Still no info when clicking on the dive number.
new URL: http://divelog.helm.no/divelog
my config.inc
also:
new URL: http://divelog.helm.no/divelog
my config.inc
Code: Select all
* Some hosts don't support mod_rewrite, so we must have option to use old
* query strings like ?id=&user=
* If query_string = false normal rewrite is used, if set to true query string is used
*/
$_config['query_string'] = true;
/**
* change this to your website url
*/
$_config['web_root'] = 'http://divelog.helm.no/divelog';
/**
* Your path where divelog is located
* EXAMPLE: http://www.foo.com/users/j/jo/john
* abs_url_path = /users/j/jo/john
* Nothing todo where phpdivinglog is installed on your harddrive!
*/
$_config['abs_url_path'] = '/divelog';
Code: Select all
* ABS path to your website (no need to change normaly)
*/
define('ABSPATH_DIVELOG', dirname(__FILE__).DIRECTORY_SEPARATOR);
$_config['app_root'] = ABSPATH_DIVELOG;
/**
tried both true and false her without result.
Code: Select all
* Some hosts don't support mod_rewrite, so we must have option to use old
* query strings like ?id=&user=
* If query_string = false normal rewrite is used, if set to true query string is used
*/
$_config['query_string'] = true;
If not try to add this to index.php line 211
Code: Select all
print_r($split_request);
Problem fixed since windows doesn't have a request_uri var
Download new version here:
http://rob.lensen.nu/devdoc/phpDivinglog-2.1.2.tar.gz
http://rob.lensen.nu/devdoc/phpDivinglog-2.1.2.zip
Thanks for option to debug
Download new version here:
http://rob.lensen.nu/devdoc/phpDivinglog-2.1.2.tar.gz
http://rob.lensen.nu/devdoc/phpDivinglog-2.1.2.zip
Thanks for option to debug
Other option for windows users:
http://neosmart.net/blog/2008/request_u ... 3-support/
http://neosmart.net/blog/2008/request_u ... 3-support/
This is because your divesites are not in the database... You didn't link the divesites to a dive.ehelm wrote:great..thanks..looking good and thanks for great support
Have just one more issue...Dive Location is now showing in the dive number details.
There is an explanation by sven. But basicly you have to select the divesite in divinglog by clicking the I icon and check the divesite. Not just the name
Language problems
I have problem with the language support.
http://dyk.fisensmosse.se
Error code: "ERROR no language found for the grid (swedish) fix your language file"
but still the swedish translations showes up in the homepage.
Maybe i made something wrong in my installation.
/Erik
http://dyk.fisensmosse.se
Error code: "ERROR no language found for the grid (swedish) fix your language file"
but still the swedish translations showes up in the homepage.
Maybe i made something wrong in my installation.
/Erik