Skip to main content Help Control Panel

 

English «   Post your requirements here «  

Scan Scripts For Hooks

blkdragn95 -- on Aug. 10 2004

Session not sticking...I guess?

I am installing from scratch, and am having some difficulties. When I get to the 'Scan scripts for hooks' page, it informs me that 'Only associates may use this page'. I have not closed my browser, disabled cookies, sneezed or anything. Why is it not allowing me to proceed. I have erased and restarted the installation 7 times now and tried different browsers....still no luck. Please help

~Jay

Bernard Paquesfrom nearby-an-airport
Associate, 8405 posts

on Aug. 10 2004


Jay,

Because of your message I have downloaded and installed the full package at a brand new server. The setup was a breeze, including the hooks scanning.

Unfortunately for you, this means that I have not been able to reproduce your issue.

Can you check that cookies are transmitted to the server? Just go to the Control Panel. Then, in the extra area (on the right of the screen), select the test page. If the submitted request has a PHPSESSID attribute, it's ok. Else you are in trouble.

By the way, if server information is displayed by the script, can you provide the attribute SERVER_SOFTWARE please?
Blkdragn95
8 posts

on Aug. 10 2004


Here is the results from test.php. I was unable to find the link to it so I called it manually.

The test page

Back to the Control Panel

A more complex GET test test.php/123/456/789?a=B

Signature of your browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7

Language of your browser: en-us,en;q=0.5

Submitted request: $_REQUEST['hello']=world $_REQUEST['PHPSESSID']=1a8e95e261d6adf1f220eed8d226ae39

Cookies sent by the browser: $_COOKIE['PHPSESSID']=1a8e95e261d6adf1f220eed8d226ae39

$context['arguments'][0]=123 $context['arguments'][1]=456 $context['arguments'][2]=789 $context['path_to_root']=/home/web/demo.bdm-racing.com/fpn/ $context['url_to_root']=/fpn/ $context['self_name']=demo.bdm-racing.com $context['self_url']=/fpn/control/test.php
Blkdragn95
8 posts

on Aug. 10 2004


THis is when I pass the variable SERVER_SOFTWARE

The test page

Back to the Control Panel

A more complex GET test test.php/123/456/789?a=B

Signature of your browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7

Language of your browser: en-us,en;q=0.5

Submitted request: $_REQUEST['SERVER_SOFTWARE']= $_REQUEST['PHPSESSID']=1a8e95e261d6adf1f220eed8d226ae39

Cookies sent by the browser: $_COOKIE['PHPSESSID']=1a8e95e261d6adf1f220eed8d226ae39 $context['path_to_root']=/home/web/demo.bdm-racing.com/fpn/ $context['url_to_root']=/fpn/ $context['self_name']=demo.bdm-racing.com $context['self_url']=/fpn/control/test.php

Bernard Paquesfrom nearby-an-airport
Associate, 8405 posts

on Aug. 10 2004


Jay,

YACS remembers in session variables the fact that you are logged. Maybe this is not running correctly at your server.

Could you please provide the version of your Apace/PHP environment to check this point? Maybe you have access to the php.ini configuration file as well?
Blkdragn95
8 posts

on Aug. 11 2004


My versions are as follows:

Apache (httpd-2.0.49-4) PHP (php-4.3.6-5)

and this is a snippet from my phpinfo() results http://demo.bdm-racing.com/phpinfo.php

Bernard Paquesfrom nearby-an-airport
Associate, 8405 posts

on Aug. 11 2004


Can you check that the following directory is correclty filled by something during the very first steps of the setup?

/var/lib/php/session

This is where, according to your configuration, PHP is supposed to store session data.
Blkdragn95
8 posts

on Aug. 11 2004


Ok, so I feel like an arse! My /var/lib/php/session folder was chown'ed to the wrong user.group. Chown'ed it to the correct one and I was able to install.

Thanks for the great support and patience.

Jay

Bernard Paquesfrom nearby-an-airport
Associate, 8405 posts

on Aug. 11 2004


Jay,

I'm glad your issue has been solved. Thank you for your future feed-back on YACS.