61
technobia
Re: Wierd Code in Module Admin
  • 2006/9/21 15:51

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


I compared two admin.php files between the same version sites, one that is fine and this one, and I do not see ANY diffrence in the adamin.php file. All the normal lic stuff is commented out at the top of the file.

This is a fresh install using the same files as other installs where the files have not been altered.

This is what is weird. Any other ideas?

Thanks!
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!



62
technobia
Wierd Code in Module Admin
  • 2006/9/21 15:14

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


Xoops 2.0.15 / Php 5.1.6 / MySQL 4.1 / IIS 6.0

I have installed several XOOPS sites now and the last two have the following code (but much longer) displayed in the Modules Administration page just below the Submit Button. Only the System module is installed. This does not otherwise seem to effect the operation or configurtion of the site.

// // ------------------------------------------------------------------------ // // This program is free software; you can redistribute it and/or modify // // it under the terms of the GNU General Public License as published by // // the Free Software Foundation; either version 2 of the License, or // // (at your option) any later version. // // // // This program is distributed in the hope that it will be useful, // // but WITHOUT ANY WARRANTY; without even the implied warranty of // // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // // GNU General Public License for more details. // // ----------------------


Thanks - Technobia
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!



63
technobia
Protector Module Security Advisories
  • 2006/9/21 14:55

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


I have a couple of Protector module security advisories I am not sure how to resolve.

ITEM 1
'allow_url_fopen' : on Not secure
This setting allows attackers to execute arbitrary scripts on remote servers.
Only administrator can change this option.
If you are an admin, edit php.ini or httpd.conf.
Sample of httpd.conf:
php_admin_flag allow_url_fopen off
Else, claim it to your administrators.

I edited my php.ini (php5.1.6) I found allow_url_fopen and turned it OFF but I do not have an entry for php_admin_flag and the security advisory still reports this as Not Secure


ITEM 2
'mainfile.php' : missing precheck Not secure
You should edit your mainfile.php like written in README.

The instructions do not say where to paste the code in the mailfile.php and if the code brackets should be included. I tried it without the code brackets and got an error and had to use the rescue.php to get back in.


After XOOPS Protector is installed, edit your mainfile.php like this:
define('XOOPS_GROUP_ADMIN''1');
    
define('XOOPS_GROUP_USERS''2');
    
define('XOOPS_GROUP_ANONYMOUS''3');

    [
color=ff0000]include( XOOPS_ROOT_PATH '/modules/protector/include/precheck.inc.php' ) ;[/color]
    if (!isset(
$xoopsOption['nocommon']) [color=0000ff]&& XOOPS_ROOT_PATH != ''[/color] ) {
        include 
XOOPS_ROOT_PATH."/include/common.php";
    }
    [
color=ff0000]include( XOOPS_ROOT_PATH '/modules/protector/include/postcheck.inc.php' ) ;[/color]


Thanks - technobia
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!



64
technobia
PiCal - Removing Detail Display Items
  • 2006/9/16 16:39

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


Editing Scheduler View Detail
PiCal Ver. 0.88a

I would like to remove from view only some items that display on the Schedule Detail View page such Class, Username , Recur etc.

I am having trouble locating the file with the smarty tags that need to be removed to acomplish this task. They do not seem to be in the templates.

Thanks!
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!



65
technobia
Re: eGuide Redirect Form Field Too Small
  • 2006/9/16 15:34

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


Well this one is resolved thanks to msdana!

1. We edited the eGuide/sql/mysql.sql file line

From: redirect varchar(128) NOT NULL default '',
To: redirect varchar(400) NOT NULL default '',

2. Then updated that field in the database

3. Updated the module as I was good to go!

Thanks msdana!
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!



66
technobia
eGuide Redirect Form Field Too Small
  • 2006/9/16 1:52

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


I need to make the redirect field accept more chanractheres than the default. The url I want to use is from PayPal and the link too long and is getting truncated.

Not sure where to increase this value and would appreciate some guidence.

Thanks - Technobia
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!



67
technobia
Event Guide 2.2 Module Modification Help Needed
  • 2006/9/10 15:08

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


Event Guide 2.2 Module Modifications for XOOPS 2.0.15
Php 4.3.11 / My SQL 4.1 / Windows 2003 Server / IIS 6.0

This is my wish list for this module in the order of importance and would appreciate some help if possible. I am not a programmer and although I have a limited budget, I am willing to pay or trade services for some help with adding the following functionality ot the Event Guide module.

1. I would like to add several custom fields to the registration form to capture addition information than what is currently provided.

2. I would also like this information to be collected in the database and show up on the report that shows who is registered for a particular event.

3. I also would like to be able to add a PayPal button for each separate event once the registration form has been filled out as a 2nd step to the registration process.

4. I am not sure if the module does this already or not but I would also like reports for ALL participants that have ever registered for current and past events.
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!



68
technobia
Re: Event Guide 1.95 Questions
  • 2006/9/5 19:03

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


Will do thanks! Is that lates version in the repository? I donwloded it not that long ago???

P.S. I installed the new version but my questions remain. Anyone?
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!



69
technobia
Event Guide 1.95 Questions
  • 2006/9/5 18:49

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


I have just installed the Event Guide module 1.95 for the first time and would like to make the following modifications if possible. I am not a programmer so I would appreciate some guidance.

1. Is there some way to tie the site regisraration with the event registration? Perhpas a user already registed with the site can just click a button that uses profile infomation to register for an event instead of having to add the info twice?

2. Once someone registers for an event, I need them to be takeen to a PayPal payment button for that event or a least a custom HTML page with a list of payment buttons for all events.

3. On the module home page, next to the title for the event is the text: [Empty]
I do not know what this is or how to get rid of it.
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!



70
technobia
Issues Optimizing PHP 4.3x & IIS 6.0
  • 2006/9/5 18:05

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


Issues Optimizing PHP 4.3x & IIS 6.0

I apologize for the length of this post but I felt it important to include as much detail as possible as this appears to be a complex issue.

ENVIRONMENT
Windows 2003 Server SP1
IIS 6.0
PHP 4.3.11
MySQL 4.1
Zend Optimizer 3.0.1
eAccelerator 0.9.4
Xoops 2.0.14 / 2.0.15

ISSUE BACKGROUND
I have several PHP/MySQL sites that have always worked well such as PhpBB, ZenCart & 4images without any optimization.

Installing my first XOOPS site I discovered really poor load time performance despite configuring the recommended cache and template settings in the XOOPS preferences.

First -I followed the instructions (below) for enabling IIS compression and things improved somewhat, particularly on the non XOOPS sites.

“Enabling IIS6 Native HTML Compression”
http://www.it-hq.org/modules/AMS/article.php?storyid=122

Second –I followed the recommendation of “Performance Tuning XOOPS in IIS” article
http://www.it-hq.org/modules/AMS/article.php?storyid=119

The article said “…To try and help reduce this load you can install the Zend optimizer as well as a PHP accelerator such as eAccelerator (which is currently the only open source offering that maintains Windows binaries)….” [As of Sept 2005]

So, I installed Zend Optimizer again a very slight improvement, not significant. Zend Optimizer did show up in the phpinfo.php output.

However, Zend kept generating multiple Application Events ID 487 with the description:

“The description for Event ID ( 487 ) in Source ( Zend Optimizer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Unable to view file mapping, Attempt to access invalid address.”

In doing google searches it appears this is a rather common issue, but no explanation or solution was found.

Third - I tried to install eAccelerator. I followed the instructions as best I understood it would not show up in the phpinfo.php output. For the life of me I could not get it to work. So I decided to move on and try the next item.

Fourth – Attempted to enable FastCGI in IIS and apply only to a XOOPS website.

I downloaded and migrated the files to my PHP installation:http://www.caraveo.com/fastcgi/fastcgi-0.6.zip and unpack isapi_fcgi.dll to c:\php\isapi_fcgi.dll.

I manually created the following registry keys:

HKEY_LOCL_MACHINE\SOFTWARE\FASTCGI

IncrementServers REG_DWORD 0x00000002 (2)
MaxServers REG_DWORD 0x00000019 (25)
StartServers REG_DWORD 0x00000005 (5)
Timeout REG_DWORD 0x00000258 (600)

HKEY_LOCL_MACHINE\SOFTWARE\FASTCGI\.php

AppPath REG_SZ c:\php\php.exe
BindPath REG_SZ php-fcgi

I followed all the instructions onhttp://phplens.com/phpeverywhere/fastcgi-php EXACLTY and in the site that I am trying it on I get a "No input file specified." error message. If I go back to the php4isapi.dll and it works again.

Fifth – I decided to try to uninstall Zend Optimizer and try it again. The XOOPS site came up as long I was using php4isapi.dll.

Only eAccelerator, not Zend, show up in the phpinfo.php output.

I decided to re-install Zend. Although it did not appear again in Phpinfo.php and eAccelerator still did, the sites did not work. On one site I got an access violation and on another nothing just a blank browser window that eventually timed out.

I uninstalled Zend again and that did not fix it. So I disabled eAccelerator in the php.ini and now all sites work again but I am back to my original issue XOOPS sites load extremely slow!

NOTES
For a variety of reasons I can not dump IIS and move to Apache. Long term I will add a Linux server but that is not possible right now so I have to make this work. Others say it can be done other say ditch IIS.

PHPINFO can be viewed here:http://www.mcedigital.com/pub/test.php

The most recent PHP.INI is posted here:http://www.mcedigital.com/pub/php-ini.html Keep in mind that all Zend Optimizer and eAccelerator options have been remarked out.

OPEN QUESTIONS
Could this be an IIS corruption issue? If I need to reinstall IIS how will that effect my 40+ websites and application pool configurations? I would certainly back up first but this is a scary proposition for me.

What the heck else could this be. I suspect a combination of a bunch of little things? I hope.

I would be VERY GRATEFUL to anyone willing to help resolve this issue. This is keeping me from developing and hosting XOOPS sites.
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 12 »



Login

Who's Online

157 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

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

Latest GitHub Commits