Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 04:47 pm EDT

Geeklog Forums

open basedir error when accessing osc commerce admin block


Status: offline

Frlitz

Forum User
Junior
Registered: 01/28/04
Posts: 15
I have read and re-read posts and discussions related to the above error message and I have not be able to resolve the error. I do not have access to the 'conf' folder so I can not test the vhost.conf option.

The osc plugin installs successfully without complaints, the store so far performs without complaint when accessing various links. The only area that complaints is the store admin link used to configure the settings for the store.

Here is the complaint:
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/mydomain.com/httpdocs/admin/plugins/store/includes/application_top.php on line 58

Fatal error: Failed opening required 'includes/functions/database_tables.php' (include_path='/home/httpd/vhosts/mydomain.com/httpdocs/Geeklog/system/pear/:.:/usr/share/pear') in /home/httpd/vhosts/mydomain.com/httpdocs/admin/plugins/store/includes/application_top.php on line 58

And, here is the information that I understand to be relevant:

Text Formatted Code

<geeklog>.config.php:
$_CONF['path']            = '/home/httpd/vhosts/mydomain.com/httpdocs/Geeklog/';
$_CONF['path_html']      = '/home/httpd/vhosts/mydomain.com/httpdocs/';
$_CONF['site_url']          = 'http://mydomain.com';
$_CONF['site_admin_url']    = $_CONF['site_url'] . '/admin';
$_CONF['path_system']   = $_CONF['path'] . 'system/';
$_CONF['path_log']      = $_CONF['path'] . 'logs/';
$_CONF['path_language'] = $_CONF['path'] . 'language/';
$_CONF['backup_path']   = $_CONF['path'] . 'backups/';
$_CONF['path_data']     = $_CONF['path'] . 'data/';

/includes/application_top.php:

/* GL: Include the main Geeklog Library */
require_once('../../../lib-common.php');
define('DIR_WS_CATALOG', $_CONF['site_url'] . '/store/'); // absolute path required
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
define('DIR_WS_FUNCTIONS', DIR_WS_CATALOG . 'includes/functions/');

57 // include the list of project database tables
58   require(DIR_WS_FUNCTIONS . 'database_tables.php');


 


If someone can steer me into the right direction on this, it will be greatly appreciated.

Also, much to my horror, when uninstalling the store plugin, I learn that it removes the gl_sessions table!

Thanks
 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 09/29/02
Posts: 820
What is that 'store' plugin?

Generally speaking, Plesk is not Geeklog friendly, unless you have root access. I just returned a Plesk server back to the datacenter this evening after many nightmares. In fact Plesk is not good for any more than simple web site development on the end user's side. CPanel is much more Geeklog friendly. What takes me 1 minutes to do on CPanel may take 10 minutes to get it done on Plesk because I have to SSH into it. So I decided to stop hosting Plesk sites.

Sam


 Quote

Status: offline

Frlitz

Forum User
Junior
Registered: 01/28/04
Posts: 15
The store (GL-Store = oscommerce modifed for geeklog) integrates nicely into geeklog sites. I think that there may be several versions floating around that were authored by different individuals, i.e. DrShakagee, Squatty, Ironfeather, etc.

I whole heartedly agree with your assessment of Plesk hosted sites, it been a bit nightmarish for me. Usually, I test in a development environment before moving the results to the Plesk host. Invariably, each time, I spend hours troubleshooting the working solution in the Plesk enviroment.

Also, I do not yet understand why it was necessary, but, I moved several files around in the admin/plugins/store's 'includes' and 'function' folders and the complaints stopped. Now, to test, test, and test some more.

Thanks for reply
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Where do I get this osCommerce plugin Confused:
 Quote

Status: offline

jim-stock

Forum User
Newbie
Registered: 07/22/10
Posts: 1
CAN GET IT FROM HERE http://www.bisente.com/proyectos/oscommerce-sociable-plugin/
 Quote

All times are EDT. The time is now 04:47 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content