Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: alejandro on November 08, 2011, 12:25:35 AM
-
I've been running 7.51 with one application installed on an ibay.
this ibay was php 5 enabled (as per php5 howto contrib)
Now I've installed SME 8 beta 6.. and reconfigured the ibay as normal (after I got an error searching php5 cgi) and this application is not working anymore....
I've installed it on a new ibay to see if somethig is wrong in the ibay config but nothing..
Is there anything to change or enable to get it running again.
I'm not sure about the origin of the problem. but as it was working within 7.5.1 with php5 tweak enabled It should work on 8beta6 (php 5.2?)
application is Dolibarr 3.0.1 With some custom modules written for php/mysql.
I have a very limited php/mysql knowledge so I really need any kind of help
Many thanks in advance
Regards
Alejandro.
-
I think you need to provide the instructions you followed to install it fresh. If you upgraded, you may need to look at any custom settings you have for httpd.conf
-
I've been running 7.51 with one application installed on an ibay.
this ibay was php 5 enabled (as per php5 howto contrib)
Now I've installed SME 8 beta 6.. and reconfigured the ibay as normal (I got an error searching php5 cgi) and this application is not working anymore....
Can you show us the output for the following command (make sure you replace ibayname with the name of your ibay):
db accounts show ibayname
-
Johnp / cactus: Many thanks for your answers.
I upgraded from my 7.5.1 production server
everything went just fine... except for this little misconfiguration use.
I think I found where the problem is: (This is not a bug! in fact is a problem with my application and php)
this is the output of messages log:
PHP Warning: Unknown: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/e-smith/files/ibays/dolitest/) in Unknown on line 0
PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
PHP Warning: fopen() [<a href='function.fopen'>function.fopen</a>]: Filename cannot be empty in /home/e-smith/files/ibays/dolitest/html/htdocs/MCCImport/index.php on line 115
Of course if someone can give me the right way of enabling or allow tmp file to be created (php-side or app_side) it would be great.
thanks again in advance for any help on this.
Regards
Alejandro
by the way this is the output of ibay db status:
dolitest=ibay
CgiBin=enabled
Gid=5088
Group=system
Name=pruebas del doli
PasswordSet=no
PublicAccess=local
Uid=5088
UserAccess=wr-group-rd-group
php5=no
-
db accounts setprop dolitest PHPBaseDir '/home/e-smith/files/ibays/dolitest/:/tmp/'
signal-event remoteaccess-update
-
search here and in the wiki for open_basedir
-
db accounts setprop dolitest PHPBaseDir '/home/e-smith/files/ibays/dolitest/:/tmp/'
signal-event remoteaccess-update
This was just what I needed!
Many many thanks mmccarn.
-
alejandro
sme 8b6 has php5, that's why you do not need to install the php5cgi contrib.
-
alejandro
sme 8b6 has php5, that's why you do not need to install the php5cgi contrib.
Mary: Thanks for your post.
I know SME8b6 has php5 (one of most important reasos of my upgrade)
I reconfigured ibays as normal (as said in my first post) disabling php 5 cgi contrib configuration for each ibay using php5
and then the problem was what I asked.
mmccarn gave me the clue to solve it
Thanks anyway!
I'm sure I'll need more help as just testing the new SME 8b6
Regards
Alejandro
-
I'm sure I'll need more help as just testing the new SME 8b6
When you do please take the time to pick a more descriptive subject for your problem. Thanks in advance.
-
When you do please take the time to pick a more descriptive subject for your problem. Thanks in advance.
I apologize, I'll try to be more specific next time (I've modified the subject for someonelse with this problem)
(This happened on my production server and I was in a hurry... )
Regards
Ale