1
RemyA
Re: mod_proxy and XOOPS failures
  • 2004/10/21 15:02

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


Thank you both, i was not able to use DNS but i fixed that

everything works well now; a DNS entry was the workaround


with kind regards,

Remy



2
RemyA
mod_proxy and XOOPS failures
  • 2004/10/21 12:19

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


When creating a Reverse proxy environment with Apache and XOOPS i walk against some problems :

First the Reverse entry which is made on the Proxy Server:

#Xoops Portal Entry on 10.0.1.1 Server
#
ProxyPass /portal/http://10.0.1.10/portal
ProxyPassReverse /portal/http://10.0.1.10/portal

Second the configuration of mainfile.php on the .10
server:

define('XOOPS_URL', '/portal');



So if there is a GET request on 10.0.1.1 for "/portal"
it proxies all data coming fromhttp://10.0.1.10/portal

prob #1 - Images not displayed because of define('XOOPS_URL', '/portal'); ##can be solved

prob #2 - When loggin in XOOPS_URL gets duplicated and redirect goes wrong

i.e.http://10.0.1.1/portal/10.0.1.10/portal/modules/mydownloads


prob #3 - Administration of blocks is acting 'foo' it does not matter what action gets performed (deleting,adding,modifying) it will FAIL

prob #4 - Administration of module (updating,disactivating,uninstall) is acting foo to...
nothing will work

Is there any workaround for this ? or perhaps a FIX ?

It would be a waste to implement XOOPS as a dynamic system
when it aint possible to work in combination with mod_proxy ... cause if it won't work ..XOOPS aint that flexible as i stated before.

Please show me that it has the flexibility



3
RemyA
session_start() conflicts
  • 2004/10/20 13:12

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


Hi xoopsers,

I am having some problems , let me jot it down :

i have made a module, which uses session_start()
once a user is logged in (a seperate login screen is prompted in the module) .

When i login into XOOPS everything goes well
then i login into the module (which has a session_start())
and two things happen :

1. a conflict with session_start() in "include/common.php line 186""

2. xoops_user and respectively xoops_is_admin goes empty.
which make the rest of the XOOPS site looking like you are not loggged in . !!!!woops

Does anybody has a workaround for this ?

Counting on the XOOPS community



4
RemyA
Re: Restore of Xoops Problem
  • 2004/4/23 11:15

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


Quote:

Notice: Use of undefined constant _MI_MEMBERS_NAME - assumed '_MI_MEMBERS_NAME' in /hsphere/local/home/mikesmin/closetojesus.org/modules/xoopsmembers/xoops_version.php on line 2
Notice: Use of undefined constant _MI_MEMBERS_DESC - assumed '_MI_MEMBERS_DESC' in /hsphere/local/home/mikesmin/closetojesus.org/modules/xoopsmembers/xoops_version.php on line 4
.... .... ..


You have a problem with you language settings, perhaps you have installed a language pack, try to see what language is active in general preferences, after that look if there is a language directory for your module which also supports the language which is set in general preferences.
this is case sensitive !

Gr. Remy



5
RemyA
Re: xoopsbook
  • 2004/4/23 11:11

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


I havent tried the module,

but changing these lines
$modversion['name'] =_XOOPSBOOK_NAME;
$modversion['version'] = "0.01";
$modversion['description'] =_XOOPSBOOK_DESC;
$modversion['credits'] = _XOOPSBOOK_CRED;

to

$modversion['name'] =MI_XOOPSBOOK_NAME;
$modversion['version'] = "0.01";
$modversion['description'] =MI_XOOPSBOOK_DESC;
$modversion['credits'] = MI_XOOPSBOOK_CRED;

thats will probably do the trick .

Gr. Remy



6
RemyA
Re: Change the look and feel of a xoop site?
  • 2004/4/13 10:01

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


Quote:

I got XOOPS 2.0.6 installed with the default modules.
I'm trying to learn how to use the web interface to manipulate
the look and feel of my site and have some questions. They may seem pretty simple to you but if you can give me a few pointers that would save me a lot of time:


If you want to play with the look and feeling of Xoops, you might want to load theme.html in a html editor which is capable of editting files online .

By editting the theme.html file (located in the /themes/[your_active_theme] directory) you can edit the "structure" of your site .
In addition you might want to look at the additional template files which are provided with modules .



If you use Dreamweaver you might want to check out this post




7
RemyA
Re: Xoops causes segmentation faults under high load.
  • 2004/2/5 15:29

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


Michael,

please commit the following command to retrieve coredumps from a segv : " ulimit -c unlimited "

for further information about ulimit you can have a look at the man. page.

You could let php do the debugging :

in "/etc/php.ini"
--------------------------
error_reporting = E_ALL
error_log = filename
--------------------------

Try to look at the logfile entries before the segv occurs and after (just watch the timestamps) .

Post your results again if you want .

With these steps you should be able to show a core file or a good overview of debug messages




8
RemyA
Re: Xoops causes segmentation faults under high load.
  • 2004/2/5 14:37

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


naish,

great to hear that you went live with XOOPS .."congrats!"

You paste a line from your httpd log, however it does not contain enough information, could you perhaps show us some output of the "core" file ? perhaps we can determine if XOOPS has anything to do with it and where things goes wrong.
I suppose you use Apache, but pasting more info about the environment in which XOOPS runs would help us more ..

Whenever a SEGV occurs paste also the line(s) of the access and error logs of your httpd daemon .




9
RemyA
Re: WF-Sections v2 Preview
  • 2004/2/5 14:32

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


perhaps a php parser would be great to , people seem to miss this functionality



10
RemyA
Re: How can I pull partners links from another site?
  • 2004/2/5 10:54

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


Hi script_fu,

Are these websites in the same environment ?
i.e. are they using the same server ?
if so just share the database table and their columns with the other sites in this way you could display the same content on all sites, if however these sites are hosted on different servers it would probably not effective to use this approach (sharing the db table).

than i'd suggest that you use a fetch mechanism to include the content you want to display.





TopTop
(1) 2 »



Login

Who's Online

276 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 276


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