Page 1 of 1

Very URGENTT :S [SOLVED]

Posted: Sat Nov 12, 2011 12:26 pm
by amirbwb
Hello, I am new into selling softwares ... today I have noticed a big problem in the software and don't know how to fix it:

The software I have created is about 65 pages
every thing works fine only in a 3 pages (pages where admin can update some data) ... when updating a form, a complete message appears but the data are not updated !!

I have created this software on my localhost and I tried it on 2 pcs and it is working fine ... but when I uploaded it to a free webhost (amir.comoj.com/najla from 000webhost.com) and I was doing a check up then I noticed that the three update pages are not working !!
Any idea about what is happening ?

I have attached the 6 files if anyone would like to check the code .....
Attachement:
uns.php is the design part(html code) and uns_c.php is the code part (php)
same thing for the 2 others ...

plz it's very urgent i want to present my software the next week :S :S
Thank youu !!

Re: Very URGENTT :S

Posted: Sat Nov 12, 2011 12:31 pm
by amirbwb
if you want to check the page and how it looks like visit:
amir.comoj.com/najla/
enter
username: **********
password : **********
and to go to the pages that are not working go to:
http://amir.comoj.com/najla/**************
http://amir.comoj.com/najla/**************
http://amir.comoj.com/najla/**************

thank you

Re: Very URGENTT :S

Posted: Sat Nov 12, 2011 4:42 pm
by Celauran
Have you tried to echo your update queries to see what's being sent to the database?

Re: Very URGENTT :S

Posted: Sat Nov 12, 2011 4:51 pm
by amirbwb
i will try it but i think there is nothing wrong cuz it is working on my localhost
but if u have check the attachement files, i think the problem is from if(!isset($error)) but can't understand why it doing this on my free domain !!

Re: Very URGENTT :S

Posted: Sat Nov 12, 2011 4:56 pm
by Celauran
I tried looking at the files you uploaded. I found one problem in unnv_c.php on line 10; you have is_numeric with no argument. This could lead to $visit staying set to 0. I can't run it locally, though, so I can't really test or play around much.

Re: Very URGENTT :S

Posted: Sat Nov 12, 2011 5:18 pm
by amirbwb
ahh thank you but i does not change the update part :/ ... do you think that the problem is from the web hosting and from the software ??
because this is not explicable !!

Re: Very URGENTT :S

Posted: Sat Nov 12, 2011 5:19 pm
by Celauran
I suppose it's not impossible that the change in hosting explains it, but I doubt that's the case.

Everything looked normal when you echoed the query?

Re: Very URGENTT :S

Posted: Sat Nov 12, 2011 5:33 pm
by amirbwb
ok i'll try it tomorrow thank you a lot =) hope i can solve it after echoing the query =)

Re: Very URGENTT :S

Posted: Sun Nov 13, 2011 7:12 am
by amirbwb
halilouyaaa i catch the error .... i forgot to write mysql_select_db($datavase_connection,$connection) or die(mysql_errir());

thank you anyway =)