Page 1 of 1

Global bin not found on the server

Posted: Fri Apr 14, 2006 3:18 am
by JD02
I'm a newbie CMSMS user. Product looks great and I'm keen to play so first doing a test install on a remote server. I have however no previous background with PHP, MySQL and database design in general.

Following the "Quick Install Via FTP" instructions I successfully completed the install... least I thought I had. When attempting to open http://www.mysite.com/global-bin/php.cg in IE6 I got a "page can not be found error".

I installed CMSMS in a subdirectory.

I can access the CMSMS default index.php  http://www.mysite.com/cmsms/ but only renders html (same for both IE6 and Firefox) - the html is not styled. The linked stylesheet can't be found either http://www.mysite.com/global-bin/php.cg ... mplateid=4 when attempting to display in a new browser window. Pages linking from the index.php page can't be found either - eg. http://www.mysite.com/global-bin/php.cg ... tent_types

Seems the global-bin directory simply does not exist.

I have attempted to install the CSM twice now - both times resulting in the same error.

This being the first time I created a database I'm hoping I've enabled phpMyAdmin correctly and set up the new database properly. I've checked the database after the CMSMS install and there are now 42 tables within so figure I've done something right. I have contacted my host to see if the problem is on my end (my human error) and also for the PHP and MySQL specs. Apache 1.3.33 is installed on the Server. 

Assistance muchly appreciated. Thanks too in advance

Re: Global bin not found on the server

Posted: Fri Apr 14, 2006 10:13 am
by Piratos
search the word php.cg here in the forum and you will find a solution.

Re: Global bin not found on the server

Posted: Fri Apr 14, 2006 3:39 pm
by jelle
can you post your config.php. I suspect one of the urls in there is off.

Re: Global bin not found on the server

Posted: Thu Apr 20, 2006 2:08 am
by JD02
thanks guys for your responses. I've searched "php.cgi" on the forum and done some further investigation but so far no luck.

Here is my config.php file:

Code: Select all


<?php

$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'cms_user';
$config['db_password'] = '******';
$config['db_name'] = 'cmsms';
$config['db_prefix'] = 'cms_';
$config['root_url'] = 'http://www.jaydaniells.com/global-bin/php.cg';
$config['root_path'] = '/usr/home/jdaniells/www/htdocs/cmsms';
$config['query_var'] = 'page';
$config['use_bb_code'] = false;
$config['use_smarty_php_tags'] = false;
$config['previews_path'] = '/usr/home/jdaniells/www/htdocs/cmsms/tmp/cache';
$config['uploads_path'] = '/usr/home/jdaniells/www/htdocs/cmsms/uploads';
$config['uploads_url'] = 'http://www.jaydaniells.com/global-bin/php.cg/uploads';
$config['max_upload_size'] = 1000000;
$config['debug'] = false;
$config['assume_mod_rewrite'] = false;
$config['auto_alias_content'] = true;
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['use_Indite'] = false;
$config['image_uploads_path'] = '/usr/home/jdaniells/www/htdocs/cmsms/uploads/images';
$config['image_uploads_url'] = 'http://www.jaydaniells.com/global-bin/php.cg/uploads/images';
$config['default_encoding'] = '';
$config['disable_htmlarea_translation'] = false;
$config['admin_dir'] = 'admin';
$config['persistent_db_conn'] = false;
$config['default_upload_permission'] = '664';
$config['page_extension'] = '.html';
$config['use_adodb_lite'] = true;
$config['locale'] = '';
$config['admin_encoding'] = 'utf-8';

?>

Installed on my server is:

APACHE 1.3.33
MySQL 4.1.18
PHP4.31

Thanks again.

JD

Re: Global bin not found on the server

Posted: Sat Apr 22, 2006 4:11 pm
by jelle
I don't know how, but the detection of the base url went wrong during the install. Is your host using phpexec (or whatever the precise name) instead of mod_php?
It looks like you can correct the problem by changing all occurences of http://www.jaydaniells.com/global-bin/ with the correct path http://www.jaydaniells.com/cmsms.&nbsp;