as requested

Started on the old forum in January 2011 · view the original in the archive · old links redirect here

16 replies · 1,098 views · started 15 years ago · 1 min read

5 participants
miic8310 Junior · 36 posts #2

i get server 500 error. but i get it for all wap scripts ive tried so far 🙁 ive edited the conf. files and done everything i could see needed

arnage Lead · 811 posts #3

Try to remove the htaccess file.

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
miic8310 Junior · 36 posts #4

that works thanks, but i cant register. the .htaccess file is set to php_flag register_globals on but as its not there now i uploaded and renamed php.ini (as found in a search result) and still no joy 🙁 any ideas?

thanks

arnage Lead · 811 posts #5

U'r welcome. For registration just set from 0 to 1 in settings table. I don't know the name of it...

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
Mysterio Lead · 630 posts #6

ini_set("register_globals", 1):

write this in top of php code before anything sent to browser.

mysterio.al - programming is a functional art

miic8310 Junior · 36 posts #7

Mysterio3 wrote: ini_set("register_globals", 1):

write this in top of php code before anything sent to browser.

sorry, where?!

looking for settings table

Mysterio Lead · 630 posts #8

In the php file you would need it, type that code. In the top of the php file, after <?php

mysterio.al - programming is a functional art

miic8310 Junior · 36 posts #9

Mysterio3 wrote: In the php file you would need it, type that code. In the top of the php file, after <?php

yes i mean which php file do i put it in

arnage Lead · 811 posts #10

Follow the steps:

xhtml_wml_chat_script2.rar > sql > settings.txt > INSERT INTO ibwf_settings VALUES(6, 'reg', '0');

Change 0 to 1 and u'r done. 🙂

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
miic8310 Junior · 36 posts #11

done but no, still get 'Registration is disabled at the moment, please check later'

Added after 3 minutes:

ah no i got it, thanks very much everyone 🙂

LOL now to work out how to access admin to validate users 😀

arnage Lead · 811 posts #12

And settings in the scripts admin panel?

If not that problem, u need something like

  foreach ($_POST as $key => $value) {
      $key = $value;
  }
  foreach ($_GET as $key => $value) {
      $key = $value;
  }

... in core.php to lett script work without register globas on. Probably this is not correct code but something like it.


We wrote at the same time, ok cool.

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
miic8310 Junior · 36 posts #13

all good thanks 🙂

is there a way to auto validate users?

miic8310 Junior · 36 posts #15

Sorted thanks 🙂 couple of small errors here and there now but I'll no doubt post up when I've had time to have a decent look at it and it out

nclemale36 Lead · 537 posts #16

i did say it was an old script . .i will say there is lot of bugs and holes in it also . but its a damn good base to learn from

miic8310 Junior · 36 posts #17

Yea its not bad tho is it 🙂

Is there a way of turning mobile detection off so just use web site?

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close