php file erros / need help please


Posted on 16th Feb 2014 07:03 pm by admin

Hello

Someone decoded a zend file for me.. after uploaded it on ftp i get some errors, i tryed to fix but (dont know if what it did is right, i dont have skills in php) now im stuck and i dont know where the problem is.

Please take a look to those error and if you think that you are able to fix my php file please pm me, i will pay you if necessary.

1st error:
Code: [Select]Parse error: syntax error, unexpected '*' in /home/user/public_html/main.php on line 136line 136:Code: [Select]mt_srand( ( double ) * 1000000 );I deleted the* (is that ok?)
---------------------------------------
2nd error:
Code: [Select]Parse error: syntax error, unexpected '}', expecting ')' in /home/user/public_html/.main.php on line 204line 204:Code: [Select]for ( ; $i < $total_pages + 1; } while ( 0 ), ++$i )changed to:Code: [Select]for ( ; $i < $total_pages + 1; ) while ( 0 - ++$i )is that correct?
---------------------------------------
3rd error:
Code: [Select]Parse error: syntax error, unexpected T_IF, expecting T_WHILE in /home/user/public_html/.main.php on line 214line 214:Code: [Select]}
if ( $add_prevnext_text )
{deleted: } and { is that ok
---------------------------------------
4th error:
Code: [Select]Parse error: syntax error, unexpected T_RETURN, expecting T_WHILE in /home/user/public_html/.main.php on line 225line 225:Code: [Select]}
return $page_string;
}deleted: } and { (is that ok?)
---------------------------------------
5th error:
Code: [Select]Parse error: syntax error, unexpected ',' in /home/user/public_html/.main.php on line 948lince 948: Code: [Select]( "Log Files", "Could not write to logfile "".$fileName.".log" in ""._LOGFILES_PATH."", please make sure that the file has write permissions (chmod 777)." );I changed the [], with - (is that ok?)
---------------------------------------
6th error:Code: [Select]Parse error: syntax error, unexpected ',' in /home/user/public_html/.main.php on line 978Line 978: Code: [Select]( "Log Files", "Could not open language directory in ""._TEMPLATE_PATH.""" );I changed the [], with - (is that ok?)
---------------------------------------
7th error: Code: [Select]Parse error: syntax error, unexpected '*' in /home/user/public_html/.main.php on line 1026Line 1026: Code: [Select]mt_srand( ( double ) * 1000000 );Deleted *. (is that ok?)
---------------------------------------
8th error: Code: [Select]Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/user/public_html/.main.php on line 1259Line 1259: Code: [Select] $db1->query( "SELECT id, email, activationKey FROM users WHERE confirmed='no' AND status='inactive' AND regdate<(UNIX_TIMESTAMP()-"._MEMBER_ACTIVATIONRESEND * 60 * 60 * 24.") AND lastlogin='0' AND active_sentmail='no'" );
And that`s it here i am stuck.. i dont know what to do.

Please help me with my error, i really need to be fixed.
Like i said i will pay if necessary.

No comments posted yet

Your Answer:

Login to answer
161 Like 41 Dislike
Previous forums Next forums
Other forums

Javascript form submit and radio buttons?
When this form is submitted, it is automatically resubmitted using JS.

All my fields are carr

Allegro crashes when running load_bitmap. Why?
I can not get Allegro to load any BMP images. Here is a section of test code. The picture is in the

Warning: session_start() headers already sent error - Driving me Nuts!
I am trying my sister in laws site and I keep getting an error with my coding. I am more of a design

How to generate a text file using php...?
Hi,
Can anyone give me code to generate a text file using php


Thanks in advance

Custom array sort? asc then desc
Any ideas how I could sort this array? I've been trying for a while. Maybe with usort, but I have no

xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<

php problem?
I don't think I'm stupid, but maybe I am.

I am working on a sit for a friend I am try to put

Lack of simpleXML Documentation
What is up with this.

Look at: http://www.php.net/manual/en/function.simplexml-load-file.php<

Cache PHP Objects/Classes?
Does anyone have ideas about caching PHP objects using something like: http://memcached.org/

values in array being escaped
I would like to submit some values - back to the same form for checking before processing...

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash