wapdesire v2 xhtml (teaze-n-plz.com)
Started on the old forum in April 2009 · view the original in the archive · old links redirect here
TL;DR · summary of 163 replies
- -chmod upload folders to 777 needs to be done for specific directories like gallery, downloads, and smilies.
- -For adding points to users, it involves modifying the database or using a custom function in PHP as suggested by quiksilverX.
- -php.txt is used when register globals are not enabled, requiring renaming it to php.ini and placing it in relevant folders.
- -Database configuration needs to be set up with correct information for wapdesire v2.
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
woody wrote: in the settings menu under owner tools or the settings table in the database, change the sesexp value to however many minutes you want the session length to be
i changed in settings table. I change sesexp from 20 to 100 but same problem is there. Any help
ive got the site up no problem but i keep getting
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in/home/*****/public_html/core/functions.inc on line 222
function getnumonline($sid) { if(ghosts(getuid_sid($sid))){ $online=mysql_fetch_array(mysql_query("SELECT COUNT() FROM users a INNER JOIN online b ON a.id=b.uid")); $online2=$online[0]; }else{ $online=mysql_fetch_array(mysql_query("SELECT COUNT() FROM users a INNER JOIN online b ON a.id=b.uid")); $online2=$online[0]; $count=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users a INNER JOIN online b ON a.id=b.uid WHERE a.hidden='1' AND a.id!='".getuid_sid($sid)."'")); if($count[0]>0)$online2=($online[0]-$count[0]); } return $online2; }
im guessing something is wrong but cant figure what it is, anyone help?
Added after 2 minutes:
this error is showing up on site on every page
Kirsty wrote: ive got the site up no problem but i keep getting
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in/home/*****/public_html/core/functions.inc on line 222
function getnumonline($sid) { if(ghosts(getuid_sid($sid))){ $online=mysql_fetch_array(mysql_query("SELECT COUNT() FROM users a INNER JOIN online b ON a.id=b.uid")); $online2=$online[0]; }else{ $online=mysql_fetch_array(mysql_query("SELECT COUNT() FROM users a INNER JOIN online b ON a.id=b.uid")); $online2=$online[0]; $count=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users a INNER JOIN online b ON a.id=b.uid WHERE a.hidden='1' AND a.id!='".getuid_sid($sid)."'")); if($count[0]>0)$online2=($online[0]-$count[0]); } return $online2; }
im guessing something is wrong but cant figure what it is, anyone help?
Added after 2 minutes:
this error is showing up on site on every page
inbox me yr site details kirst
When posting messages to forum of wapdesire v2 script, we have to use [br/] code to start a new line......I want to know if there is any other way to start new line without having to enter that code for every newline....
One more thing.... I made the post below to my wapdesire forum and I got XML parsing failed error.
",>!663Y<,"(:
above is the post I made
XML parsing failed
XML parsing failed: syntax error (Line: 1, Character: 596)
Reparse document as HTML
Error:
invalid start-tag
Specification:
http://www.w3.org/TR/REC-xml/#NT-STag
above is the error I got
Yez i want it also. . ,please help me on how to add this feature, points sharing user to user. . . .also in
users vault> all uploaded files in that user wil display
users galery> all photo uploaded in that user will display with set as profile picture
Downloads> when user downloaded file, his/her points will deducted and it will automaticaly added to the file uploader .
.please add that feature or teach me how to do that mazterz. . . . . .
please helpme? clubs/genproc.php This page does not, help please
Object not found!
http://localhost/chat/clubs/genproc.php?action=unjc&sid=11d75990c2ec607a9779f6123b5ec1c0&clid=
eynesilli wrote: please helpme? clubs/genproc.php This page does not, help please
Object not found!http://localhost/chat/clubs/genproc.php?action=unjc&sid=11d75990c2ec607a9779f6123b5ec1c0&clid=
v2 doesn't have /clubs/genproc.php
woody wrote: v2 doesn't have /clubs/genproc.php
yes my friend she does not file
I've downloaded the file does not exist in the folder
sailbrah12 wrote: when i open register its regdirect to http://www.google.com/%3C/a
i have some problem to but i register myself on phpmyadmin almost all box in script regdirect to http://www.google.com/%3C/a error log in phpthumb folder ([12-Oct-2012 11:59:46 UTC] PHP Deprecated: Function ereg() is deprecated in /home/sitename/public_html/x/phpThumb/phpThumb.config.php on line 30) in whole site i have External image (may be gone) this image when i codes from torch explorer i have this code (
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 404 (Not Found)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
</style>
<a href=//www.google.com/</a>
</div>
) thanks for help
Guys help. I am not able to register despite of all the solutions here. When i put php.ini file my site takes to Internal server error page. Please help me.
If you are using PHP 5.4.0 or over Globals have been completely removed due to security issues. There is a quick fix for registering Globals here: http://coding-talk.com/forum/main-forums/coding-forum/snippets-functions-and-classes/152643-fix-register_globals
I would normally suggest to use $_GET and $_POST instead of Globals but wapdesire v2 original script has worse security problems with it. Such as any user can easily crash the whole site by causing infinitive php loops + many more very bad security issues.