1
-gonzo-
Re: CBB - print does not work
  • 2006/2/9 19:29

  • -gonzo-

  • Just popping in

  • Posts: 12

  • Since: 2005/12/5


I have the same issue - can anyone help out here? I know Transfer works to print posts, but I want to print the entire topic.

thanks

Marc



2
-gonzo-
Re: Content Module Questions...
  • 2006/1/21 20:22

  • -gonzo-

  • Just popping in

  • Posts: 12

  • Since: 2005/12/5


*bump*

I have the same question - anyone know?



3
-gonzo-
cbb 2.31 viewing attachments in IE with PHP 5 - fix
  • 2005/12/22 21:25

  • -gonzo-

  • Just popping in

  • Posts: 12

  • Since: 2005/12/5


Hi,

I'm running CBB 2.31 on PHP 5.1.1 on IIS. I couldn't view attachments in Internet Explorer but Firefox worked ok.

My vanilla install of PHP 5.1.1 doesn't return a value for $HTTP_USER_AGENT so I had to make the following change in the file modules/newbb/dl_attachment.php to get it to work:

if (preg_match("/MSIE ([0-9].[0-9]{1,2})/"$_SERVER["HTTP_USER_AGENT"])) {


Hope this helps someone.

Marc



4
-gonzo-
global.php define("_YESTERDAY" with PHP 5.1.1
  • 2005/12/22 14:21

  • -gonzo-

  • Just popping in

  • Posts: 12

  • Since: 2005/12/5


Hi,

I'm running XOOPS 2.2.3 with PHP 5.1.1. I noticed a problem in the display of Today and Yesterday in my CBB forum posts. I traced it to the global.php file where the date formats are defined. I added slashes in front of all characters so it looks like so:

define("_TODAY""Today G:i:s");
define("_YESTERDAY""Yes\te\rday G:i:s");


The dates were showing up like this:

Posted on: YAmerica/New_YorkstAmerica/New_Yorkrday 10:46:15

and

Posted on: T2005day 8:54:24

Thank you for working on such an awesome piece of software.

Marc



5
-gonzo-
Re: wiwimod - Xoops 2.2.3
  • 2005/12/20 21:28

  • -gonzo-

  • Just popping in

  • Posts: 12

  • Since: 2005/12/5


Hey mpowell thanks for the reply. After I saw your post I decided to do some more digging and found out the problem was on my end.

In PHP 5+, the php.ini has

register_globals = Off
register_long_arrays = Off

by default.

I changed register_long_arrays to On, restarted IIS and it worked! The reason is Wiwimod, and perhaps lots of other modules, depend on global PHP variables such as HTTP_GET_VARS and HTTP_POST_VARS.

Now it looks like its working!

Marc



6
-gonzo-
Re: wiwimod - Xoops 2.2.3
  • 2005/12/20 18:47

  • -gonzo-

  • Just popping in

  • Posts: 12

  • Since: 2005/12/5


Ok looks like Wiwimod 0.8.3 is not fully supported in XOOPS 2.2.3. Is anyone using this combination? If so, what changes did you have to make for it to work?

Thanks

Marc



7
-gonzo-
Re: wiwimod - Object of class XoopsUser could not be converted to int
  • 2005/12/20 18:28

  • -gonzo-

  • Just popping in

  • Posts: 12

  • Since: 2005/12/5


Ok I figured out that the PHP notice "XoopsUser could not be converted to int" can be ignored.

However, I did some digging in the wiwimod code and made the following change to get the myblocksadmin.php page to show:

Replaced

// get blocks owned by the module
$block_arr =& XoopsBlock::getByModule$xoopsModule->mid() ) ;


With

$block_handler = &xoops_gethandler('block');
$block_arr =& $block_handler->getByModule($xoopsModule->mid()) ;


Looks like wiwimod is trying to call getByModule without instantiating a proper XoopsBlock object. Hopefully this change is ok. At least I can see the rest of the page now. However, I don't think this solves my root problem of not being able to create a new wiki page.

I'll post a message athttp://www.zonatim.com to see if I can get some more help.



8
-gonzo-
wiwimod 0.8.3 on Xoops 2.2.3
  • 2005/12/20 15:51

  • -gonzo-

  • Just popping in

  • Posts: 12

  • Since: 2005/12/5


Hi,

I'm setting up a XOOPS intranet and just installed wiwimod. I have not been able to create a new wiwi page.

As an Administrator, when I go to the Blocks / Groups tab (http://localhost/xoops/modules/wiwimod/admin/myblocksadmin.php),
I get the following text, the rest of the page is blank:

Notice [PHP]: Object of class XoopsUser could not be converted to int in file C:xoopsclasstheme.php line 442


I see this same message on several other pages (not just wiwimod pages), so I have been ignoring it. However, maybe this is something I need to fix.

I am running:
Win XP Pro, IIS
MySQL 4.1.14
PHP 5.1.1
Xoops 2.2.3a
Wiwimod 0.8.3

Thanks in advance for any help!

Marc



9
-gonzo-
SMTP email through Exchange server
  • 2005/12/9 16:18

  • -gonzo-

  • Just popping in

  • Posts: 12

  • Since: 2005/12/5


Hi,

I just want to share something I figured out. I am using XOOPS 2.2.3a for a corporate intranet on my WinXP Pro PC. I wanted to use the corporate Exchange server to send email. Here is what I learned:

1. You don't need to run the Windows SMTP service to do this. The phpMailer included with XOOPS will talk directly to Exchange.

2. The phpMailer version included in XOOPS 2.2.3a is a little old and does not support EHLO which was required by my Exchange server. I simply downloaded the most recent version 1.73 from sourceforge.net and updated these two files:
class.phpmailer.php
class.smtp.php

3. You need to configure XOOPS in the Preferences | System | Mail Setup screen like so:
Delivery: SMTPAuth
Path: doesn't matter
hosts(s): hostname of Exchange server(s)
username: your windows account name (I didn't have to prefix my Windows Domain name)
password: your windows password
From Address: your Exchange email address

I also found this site useful:
exchange2003_SMTP_Auth_Login

Hope this helps!

Marc



10
-gonzo-
Re: Which web server? IIS or Apache
  • 2005/12/9 14:11

  • -gonzo-

  • Just popping in

  • Posts: 12

  • Since: 2005/12/5


brash - thanks for the tuning article. I'll check it out.

Update:

I got XOOPS running now:

Windows XP Pro SP2 (Dell laptop)
IIS 5.1
PHP 5.1.1 ( PHP5 )
MySQL 4.1.14 ( MySQL4 )
XOOPS 2.2.3a

I decided against trying MySQL5. I ran into a problem with my initial installation of PHP 4.4.1 because this version has MySQL client 3.23.49 embedded which can't talk to newer versions of MySQL due to password hashing (I think). I upgraded to 5.1.1 and it worked fine.

Here are my basic install steps:

1. Install mysql-4.1.14-win32

2. Unzip php-5.1.1-Win32.zip, move to c:\php

3. Add c:\php to PATH and create new env var PHPRC=c:\php, reboot

4. Copy c:\php\php.ini-recommended to php.ini

5. Edit php.ini
short_open_tag = On (<? doesn't work by default)
extension_dir = "./ext"
extension=php_mysql.dll
extension=php_mysqli.dll (added this line)

6. Configure PHP as an ISAPI module in IIS (5.1)

a. create a new virtual dir called XOOPS at C:\xoops, Execute permissions "Scripts only"

b. Click on the 'Configuration' button, and choose the Application Mappings tab. Click Add and set the Executable path to C:\php\php5isapi.dll Supply .php as the extension. Leave 'Method exclusions' blank, and check the 'Script engine' and 'file exists' checkboxes. Now, click OK a few times.

c. Add index.php as a start page

7. Restart IIS

8. Unzip xoops-2.2.3a-Final.zip

9. Move html dir to C:\xoops

10. Create a XOOPS database in MySQL

11. Make mainfile.php, templates_c, uploads, cache writable for Everyone

12. Openhttp://localhost/xoops/install/

Hope this helps someone



Marc




TopTop
(1) 2 »



Login

Who's Online

222 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 222


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