xoops forums

Forum Index


Board index » All Posts (iver2435)




iver2435

Just popping in
Posted on: 2006/1/20 6:56
iver2435
iver2435 (Show more)
Just popping in
Posts: 10
Since: 2006/1/19
#1

Re: New install errors

Turn off PHP Debug under General Settings in the Admin panel.

Those messages should go away after that...


iver2435

Just popping in
Posted on: 2006/1/20 6:55
iver2435
iver2435 (Show more)
Just popping in
Posts: 10
Since: 2006/1/19
#2

Re: User Log-in & HTTP_REFERER

I remember I got that error and I disabled my Windows firewall and then it went away, so maybe you have some sort of port blocking or script blocking going on.

Also, my XOOPS installation is running on Fedora Core 4, and there is something in that distro called "SELinux" where it is basically a hyper secure installation than a "normal" one....

I also disabled that when I was have those problems as well and it automagically cured itself.


Hope this helps...


iver2435

Just popping in
Posted on: 2006/1/20 6:51
iver2435
iver2435 (Show more)
Just popping in
Posts: 10
Since: 2006/1/19
#3

Re: HTML Drop down list values to PHP values

I'm going to assume a couple of things here...

1) This is a part of some kind of form that goes on a website, like an order form or something.

2) After they fill out the form, they click "Submit" or "Order" or whatever.

3) The PHP script will take over and process it from there...

If those three assumptions can be made, then you can accomplish it very simply by extracting it from the $HTTP_POST_VARS array when you pass it to the PHP script.

I am still a little bit of a noob at PHP, so if I am wrong on this one, please let me know...


iver2435

Just popping in
Posted on: 2006/1/20 6:24
iver2435
iver2435 (Show more)
Just popping in
Posts: 10
Since: 2006/1/19
#4

Re: register.php does not show the registration form

Does the default theme work ok?


iver2435

Just popping in
Posted on: 2006/1/20 6:17
iver2435
iver2435 (Show more)
Just popping in
Posts: 10
Since: 2006/1/19
#5

Re: site changed

I also noticed that the URL says:

http://talkvoip.us/modules/news/

It almost looks like the news module has somehow turned into your whole site.

Are you sure the default page is set correctly?


iver2435

Just popping in
Posted on: 2006/1/20 6:12
iver2435
iver2435 (Show more)
Just popping in
Posts: 10
Since: 2006/1/19
#6

Re: Constant initializations, where are they?

After poking around further, I found that constant initialization in mainfile.php!

I would still like to know if there is any place to get a general feel for the "flow" of a XOOPS page loading up...

Like right now I have the impression from following all the
require "mainfile.php"'s and require_once's that mainfile.php gets loaded first, which then includes common.php, which then pulls in basically everything else that is needed by xoops...

If I'm right or horribly wrong, I'd like to know either way


iver2435

Just popping in
Posted on: 2006/1/20 6:00
iver2435
iver2435 (Show more)
Just popping in
Posts: 10
Since: 2006/1/19
#7

Re: WARNING: mainfile.php writeable by server - Can I skip this check?

In the admin.php file, here is the code that issues the warning:

if ( is_writable(XOOPS_ROOT_PATH."/mainfile.php" ) ) {
xoops_error(sprintf(_WARNINWRITEABLE,XOOPS_ROOT_PATH.'/mainfile.php'));
echo '<br />';
}

You could just be able to comment out that block and be done with it.


iver2435

Just popping in
Posted on: 2006/1/20 5:56
iver2435
iver2435 (Show more)
Just popping in
Posts: 10
Since: 2006/1/19
#8

Re: Installation Issues with NewBB 2.01

Try turning on PHP Debug in your site options and seeing what kinds of information you can gather from that.

If nothing else, you can post that stuff here and someone can help you out..


iver2435

Just popping in
Posted on: 2006/1/20 5:52
iver2435
iver2435 (Show more)
Just popping in
Posts: 10
Since: 2006/1/19
#9

Constant initializations, where are they?

I will admit, I am a noob when it comes to PHP, but I'm picking up speed very quickly.

I just have one question....I've been looking at some of the XOOPS source code just trying to get a feel for the syntax of PHP and I have noticed that there are alot of constants defined "somewhere".

As an example, I was poking around in the "common.php" file and saw this:

if (!defined("XOOPS_MAINFILE_INCLUDED")) {
exit();
} else {
// rest of code goes here
}

Mainly what I want to know is, where is XOOPS_MAINFILE_INCLUDED defined?

Also, as an alternate question....Is there any source of info out there about the XOOPS API and how all the files are related?

Thanks for the help fellas!


iver2435

Just popping in
Posted on: 2006/1/19 5:38
iver2435
iver2435 (Show more)
Just popping in
Posts: 10
Since: 2006/1/19
#10

Re: After last page of install it goes to a white page

I'm having the exact same problem...

It's like it won't insert it into the database...

I am running it on my personal machine (WinXP, IIS 5.1), but that should make a difference....

Quote:

AnnMarie wrote:
I'm trying to install the final version of XOOPS on my site and when I get to the part of putting in admin info I go to press next and it goes straight to a white page. I've disabled my firewall and I still can't figure out what went wrong? HELP!



TopTop