[SOLVED] CMS content protection doesn't work

13 years 4 months ago #148874 by nant
Replied by nant on topic Re:CMS content protection doesn't work
mercurioweb wrote:

...with your subscription in your profile page (nant) you should see on the right, the menu with the following items: "Aggiungi Annuncio - I tuoi annunci" but not the menu with the item "Sott'occhio".
Do you see this?


I see it but I cannot replicate it on my test site.

(sent you pm for superadmin rights)

Please Log in to join the conversation.

13 years 4 months ago #148882 by krileon
Replied by krileon on topic Re:CMS content protection doesn't work
Have reviewed your installation. Please review my findings very closely.

[code:1]
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib/php/modules/../../../../var/www/vhosts/localiditalia.it/ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/vhosts/localiditalia.it/httpdocs:/tmp) in /var/www/vhosts/localiditalia.it/httpdocs/localitest/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/cbpaidsubscriptions.php on line 3

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib/php/modules/../../../../var/www/vhosts/ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/vhosts/localiditalia.it/httpdocs:/tmp) in /var/www/vhosts/localiditalia.it/httpdocs/localitest/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/cbpaidsubscriptions.php on line 3

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib/php/modules/../../../../var/www/ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/vhosts/localiditalia.it/httpdocs:/tmp) in /var/www/vhosts/localiditalia.it/httpdocs/localitest/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/cbpaidsubscriptions.php on line 3

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib/php/modules/../../../../var/ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/vhosts/localiditalia.it/httpdocs:/tmp) in /var/www/vhosts/localiditalia.it/httpdocs/localitest/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/cbpaidsubscriptions.php on line 3

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib/php/modules/../../../../ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/vhosts/localiditalia.it/httpdocs:/tmp) in /var/www/vhosts/localiditalia.it/httpdocs/localitest/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/cbpaidsubscriptions.php on line 3

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib/php/modules/../../../ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/vhosts/localiditalia.it/httpdocs:/tmp) in /var/www/vhosts/localiditalia.it/httpdocs/localitest/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/cbpaidsubscriptions.php on line 3

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib/php/modules/../../ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/vhosts/localiditalia.it/httpdocs:/tmp) in /var/www/vhosts/localiditalia.it/httpdocs/localitest/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/cbpaidsubscriptions.php on line 3

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib/php/modules/../ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/vhosts/localiditalia.it/httpdocs:/tmp) in /var/www/vhosts/localiditalia.it/httpdocs/localitest/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/cbpaidsubscriptions.php on line 3

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib/php/modules/ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/vhosts/localiditalia.it/httpdocs:/tmp) in /var/www/vhosts/localiditalia.it/httpdocs/localitest/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/cbpaidsubscriptions.php on line 3

Notice: Undefined variable: result in /var/www/vhosts/localiditalia.it/httpdocs/localitest/components/com_comprofiler/plugin/user/plug_cbmutualfriends/cb.MutualFriends.php on line 111
[/code:1]

The above are just warnings so they won't stop your site from working, but they most certainly will stop CBSubs or their relevant extension from working. Lets break down those warnings.

open_basedir restriction in effect

The first issue is open_basedir is restricted. Oddly the master value (set by your host) is NULL. This would imply you are setting this with a PHP.ini file to the path /var/www/vhosts/localiditalia.it/httpdocs:/tmp. You need to remove this restriction as it's not pointing to the appropriate location (you shouldn't limit basedir to the tmp folder, it should be site root or NULL).

To test your open_basedir changes you'll need to enable debug mode and maximum error reporting within Joomla global configuration and view your profile.

The PHP.ini your installation is using is located at as indecated by PHP the following path.

[code:1]
/etc/php.ini
[/code:1]

If unsure, please contact your host before making any changes.

Undefined variable: result

This is a minor issue am not even going to full suggest a fix for, this has nothing to do with CB and is coming from the plugin plug_cbmutualfriends. You should make the author aware to this issue so they may fix it.

In addition to all of this viewing CBSubs > Settings your host is failing OpenSSL and cURL checks. I am inclined to believe your host is likely not configured or not sufficient enough for CBSubs.

On another note you're running Joomla 1.5.20, this isn't the latest. Please upgrade to Joomla 1.5.22.

Also you're running PHP 5.1, which is known to have issues unless patched (doesn't appear to be the case). I recommend contacting your host and at least upgrading to PHP 5.2.

You mentioned this worked before upgrading, am highly likely to find this unbelievable as things I believe have changed sense before upgrading which likely broke the install.

Please keep in mind after addressing all of the above it STILL may not resolve your issue. More then likely you've a 3rd party conflict. Having SO much installed it's very difficult for me to debug this.

In order to properly debug and confirm if host related or not please make a Joomla + CB + CBSubs ONLY installation in a sub-folder or sub-domain and confirm if you can or can not protect menus.. if you CAN this guarantees a 3rd party conflict. If you can NOT this guarantees host related or a bug.

Post edited by: krileon, at: 2010/12/16 20:45


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 4 months ago #149128 by ciolloservice
Replied by ciolloservice on topic Re:CMS content protection doesn't work
Hi.
Made a fresh installation with only CB e CBSUBS... problem remain.

I've check /ect/php.ini file and the open_basedir variable appear disable, i've the following line

;open_basedir =

I try to enable this variable and change value to i.e. /var/www/vhosts/localiditalia.it/httpdocs/test2/tmp but warning in debug mode remain the same:

"open_basedir restriction in effect... (/var/www/vhosts/localiditalia.it/httpdocs:/tmp)"

So what happened?

Change to php.ini file doesn't work?

I've upgrade to latest joomla ver too...

Please Log in to join the conversation.

13 years 4 months ago #149130 by krileon
Replied by krileon on topic Re:CMS content protection doesn't work
Please provide login credentials to your fresh install so may investigate the issue further.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 4 months ago #149136 by krileon
Replied by krileon on topic Re:CMS content protection doesn't work
Please contact your host concerning upgrading to PHP 5.2.x at the least and also to disable open_basedir restrictions. Reviewed your PHP information and I do not see Ioncube Loader installed yet CBSubs backend is still operational. This should not be the case as is encrypted with Ioncube. Please check with your host to ensure the Ioncube Loader module is properly configured to load within your PHP.ini. The PHP.ini in the following path is the one loaded by your install.

[code:1]
/etc/php.ini
[/code:1]

Below is the build date of your server, which is exponentially out of date.

[code:1]
Sep 20 2007 10:19:33
[/code:1]

Please have your PHP release rebuilt and updated.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 4 months ago #149188 by ciolloservice
Replied by ciolloservice on topic Re:CMS content protection doesn't work
IT WORKS NOW!
Thanks for your support.

For an unidentify reason, ioncube relative line in php.ini was disappeared.

So, I connect trought SSH, re-made ioncube installation and re-write disappeared line in php.ini.

Thanks.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.249 seconds

Facebook Twitter LinkedIn