1
msink
Re: Need pages to use relative, not absolute URLs
  • 2004/7/31 20:21

  • msink

  • Just popping in

  • Posts: 6

  • Since: 2004/7/16


Thanks man... we jumped into this very quickly, and went with the osc module because we didnt know a better way to integrate the 2. Anyone else have an idea how to strip these out?

Mark




2
msink
Need pages to use relative, not absolute URLs
  • 2004/7/31 4:41

  • msink

  • Just popping in

  • Posts: 6

  • Since: 2004/7/16


Im using XOOPS with the osCommerce module and SSL. osCommerce is using SSL, but xoops, with its one and only XOOPS_URL is not. The issue then becomes that when only part of the pages is accessing the server via https (osComm) while the rest (xoops) is loading things via http, I dont get a clean SSL lock, and just get messages saying some things are not secure (NS7), or a quick glimpse of the SSL key (IE).

Is this a XOOPS issue, or a template issue. I am brand new to all this, but when I look at templates, i see things like:

img src="<{$xoops_url}>/images/icons/reply.gif

I dont want that! leave the xoops_url out of my links.

Can I just get XOOPS to not do this, or do I need to change all templates, or do I need to try this:

https://xoops.org/modules/newbb/viewtopic.php?viewmode=thread&topic_id=13171&forum=21&post_id=69661#69661

I actually did that earlier, but reverted back to the original files. It wasnt working, though I may not have had everything else setup, but another guy working with me got a Error Updating the database, so I figured Id better go back.


Anyway... surely someone is using XOOPS with SSL (without encrypting the ENTIRE site)

Any help appreciated.

Mark



3
msink
Re: Fatal error: Call to undefined function:
  • 2004/7/22 14:11

  • msink

  • Just popping in

  • Posts: 6

  • Since: 2004/7/16


I have the exact same error and line number. Cant check my PHP version, but I know is near the latest (Verio Hosting)

I too am running FreeBSD.. anyone else? 2.0.7 was even worse, at least 2.0.6 installed fine.

But this error is causing all my pages to be blank, so I cant log in or anything.


Mark



4
msink
Re: No login box! - How can I login?
  • 2004/7/18 4:44

  • msink

  • Just popping in

  • Posts: 6

  • Since: 2004/7/16


After having to change code in 2 file to install xoops, now I cant login or see anything. index.php, admin.php, and user.php are blank. I had no errors installing.

I went into admin.php and commented out


if ( $xoopsUser ) {
if ( !$xoopsUser->isAdmin() ) {
redirect_header("index.php",2,_AD_NORIGHT);
exit();
}
} else {
redirect_header("index.php",2,_AD_NORIGHT);
exit();
}

This got me to the "This is your first time..." "Press Submit to Continue" from the user or admin page, cant remember which. I never did login.

Nothing has changed, still dont get any login anywhere. I removed the comment marks to return code to normal. Did the above procedure store anything in the database that now needs to be cleared out. Who did it think I was when It said "This is your first time" and what did it do? Anyway... I cant seem to get anywhere with XOOPS w/o changing the code! Why?

Thanks for any help.

Mark



5
msink
Re: XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run
  • 2004/7/16 4:34

  • msink

  • Just popping in

  • Posts: 6

  • Since: 2004/7/16


Thanks for the reply. That doesnt seemed to have helped however. I also can sometimes get

Warning: offset not contained in string in /usr/local/etc/httpd/htdocs-test/install/index.php on line 256

or

Warning: offset not contained in string in ../mainfile.php on line 53
XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.





6
msink
Re: XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run
  • 2004/7/16 4:06

  • msink

  • Just popping in

  • Posts: 6

  • Since: 2004/7/16


Sorry, no answer, I have the SAME problem. Anyone have a clue?

Here are my rootpath.php results, so Im pretty sure that is correct.

Your root path is/usr/local/etc/httpd/htdocs-test
without string replace:/usr/local/etc/httpd/htdocs-test

Help!

Thanks




TopTop



Login

Who's Online

163 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 163


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