11
tommyZ
stinky server configuration for xoops 2.3 - 2.4
  • 2009/12/26 16:40

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


Hi

A week ago I had to migrate servers from one shared hosting to another. What can normally be a simple transfer turned out to be a nightmare...

Modules would not work, database value altered, and debugging had to take place for hours... not to mention that the new host did not have good tools (its using plesk CP) and I could not upload archived files which means I had to upload 4K+ files a few times!

anyway, after breaking the problem into pieces, and trying the exact configuration on other servers, I found out that its the server that is massing it all up, but I am still not sure exactly what is causing the error....

I turned php values on and off, I tried hosting the database on its original mysql, i even try older version of XOOPS (2.3), and regardless of what I do, piCal values are changed, and xdirectory is broken... there might be other bugs I have not yet found.

meantime, my client has decided to change solutions, and to move to a Virtual Private Server, which will hopefully end all our problems (security, stability, etc...)

the problematic server config is:

Plesk Control Panel 8.6 - via reseller

XOOPS Version XOOPS 2.4.2
PHP Version 5.2.11
mySQL Version 4.1.22
Server API apache2handler
OS Linux
safe_mode On
register_globals Off
magic_quotes_gpc Off
allow_url_fopen Off
fsockopen On
allow_call_time_pass_reference Off
post_max_size 256M
max_input_time 60
output_buffering 4096
max_execution_time 30
memory_limit 40M
file_uploads On
upload_max_filesize 256M

not sure about openbasedir...

(from the Plesk info)

Services
Apache ASP support No (Component was not installed)
SSI support Yes
PHP support Yes (PHP 'safe_mode' on)
CGI support Yes
Perl support No
Python support No
FastCGI support No (Component was not installed)
Miva support No (Component was not installed)
ColdFusion support No (ColdFusion is not supported by the license key)


xoops debug info:

such errors appear:

Warning: Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php in file /class/xoopstree.php line 49

Warning: MyTextSanitizer::makeTareaData4Show is deprecated in file /class/module.textsanitizer.php line 852

Warning: MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 784


bottom line: sometime a server sucks! and its not the developers fault!



12
tommyZ
Re: mxDirectory 3.0RC2???
  • 2009/12/22 22:27

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


Doing as Zyspec recommends in his post fixes the blank index.php page in the front end of MxDir 3.0RC2 due to PHP5 (maybe XOOPS 2.4.2)

If you get the RC2 from the link posted in this thread, this has been changed
Delete lines 38-41 in ./index.php:
function add_header($tpl_source, &$xoopsTpl)
{
return "<?php echo $xoops_module_header?>n".$tpl_source;
}


Then delete line 48 (now line 44 after the above was deleted) in ./index.php so it looks like this:

$xoopsTpl->register_postfilter('add_header');


There is also a coupon class fix for PHP5. Modify ./class/coupon.php line 124 from:

if (get_class($coupon) != 'coupon') {

to:

if (get_class($coupon) != 'Coupon') {
Notice the capital 'c' is required for the 'Coupon' compare. This is because the PHP interpreter changed the get_class function to be case sensitive in PHP5.


You will still have to manually do:

Then in these templates:
xdir_index.html
xdir_listingfull
.html
xdir_mylistings
.html
xdir_viewalpha
.html
xdir_viewcat
.html

Comment out the 
<{$xoops_module_header}> line so it looks like:

<!-- {
$xoops_module_header}> -->


and walla! i am working on migrating data from xdirectory to mxdir because xdir won't work on 2.4.2 as it should! this is a bit tricky, but i am on it!

thanks for the support everyone!



13
tommyZ
keeping the site up to date - checking on modules latest versions!
  • 2009/12/21 19:42

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


Hi

I have searched for an answer/solution for my question and found non so I figured that ill throw it out here.

Is there a module or a way to check my site for available updates of installed modules? I saw that wordpress does that nicely and thought that maybe an option has been made for XOOPS as well.

Ideally the admin can be notified when a new version was released for an installed module either via backend or email.

Thanks in advance and your thoughts are welcome,

Tom



14
tommyZ
Re: question marks
  • 2009/9/17 23:44

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


genius, thanks!



15
tommyZ
Re: Testing: Multisite Module 1.17 RC for XOOPS 2.3
  • 2009/3/30 2:56

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


hi, any chance to see a demo of this module?

question: can I use this module to create mini pages within my main XOOPS site? for example, if I'd like to offer selected users the ability to manage their own little site within my site? or will this complete things and I am better of using a module and setting permissions to allow certain users to add content?

lastly, do you accept financial contributions for this project?


thanks in advance,

tom
Life is ten percent what happens to you and ninety percent how you respond to it. - Lou Holtz
BlueHost.com - hosting with the most bang for your buck



16
tommyZ
Re: PiCal 0.91 (MiniCalendarEx doesn’t show the events)
  • 2009/1/30 2:39

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


Any word on a fix for the description being empty upon edit bug with pical and XOOPS 2.3.x ?
Life is ten percent what happens to you and ninety percent how you respond to it. - Lou Holtz
BlueHost.com - hosting with the most bang for your buck



17
tommyZ
Re: new user notification mail
  • 2009/1/19 20:12

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


Ghia, thank you very much, yet again, you are a true asset to the community!
Life is ten percent what happens to you and ninety percent how you respond to it. - Lou Holtz
BlueHost.com - hosting with the most bang for your buck



18
tommyZ
new user notification mail
  • 2009/1/17 20:15

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


Hello

I would like to ask (with XOOPS 2.3.2b)

a. where is the template for the new user notification mail?
(could not find it in /language/english/mail_template/)

b. is it possible to include in this notification mail fields created during registration (fields created with User Profile 1.51)?

thanks in advance

Tom
Life is ten percent what happens to you and ninety percent how you respond to it. - Lou Holtz
BlueHost.com - hosting with the most bang for your buck



19
tommyZ
Re: The process has been expired, please go back to try again.
  • 2009/1/2 21:42

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


ok found out the reason for this.

In the user profile module, if you have more than one step in the registration, you cannot have do not save selected for the first step and save for the second step. You must have save selected for both steps.
Life is ten percent what happens to you and ninety percent how you respond to it. - Lou Holtz
BlueHost.com - hosting with the most bang for your buck



20
tommyZ
Re: The process has been expired, please go back to try again.
  • 2009/1/2 19:39

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


any luck here? Experiencing the same issue with the new user-profile module...
Life is ten percent what happens to you and ninety percent how you respond to it. - Lou Holtz
BlueHost.com - hosting with the most bang for your buck




TopTop
« 1 (2) 3 4 5 ... 7 »



Login

Who's Online

197 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 197


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits