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 !!
Very URGENTT :S [SOLVED]
Moderator: General Moderators
Very URGENTT :S [SOLVED]
Last edited by amirbwb on Sun Nov 13, 2011 12:29 pm, edited 3 times in total.
Re: Very URGENTT :S
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
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
Last edited by amirbwb on Sun Nov 13, 2011 7:13 am, edited 1 time in total.
Re: Very URGENTT :S
Have you tried to echo your update queries to see what's being sent to the database?
Re: Very URGENTT :S
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 !!
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
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
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 !!
because this is not explicable !!
Re: Very URGENTT :S
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?
Everything looked normal when you echoed the query?
Re: Very URGENTT :S
ok i'll try it tomorrow thank you a lot =) hope i can solve it after echoing the query =)
Re: Very URGENTT :S
halilouyaaa i catch the error .... i forgot to write mysql_select_db($datavase_connection,$connection) or die(mysql_errir());
thank you anyway =)
thank you anyway =)