Hi! Can enyone help me???

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Hi! Can enyone help me???
Jupiter
CZ Newbie
Jupiter has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 02, 2004
0.00 posts per day
Posts: 5
Points: 664
   
I`m completly new in this, and i have some troubles in getting CZEnhanced-7.0 to work properly. I have menaged to deal with most of the problems but there are two that i can`t solve by myself (like i said i`m a total begginer in this). So here are the problems:

Parse error: parse error, unexpected '{' in C:\usr\Apache\Apache2\htdocs\html\mainfile.php on line 16

this is how it looks like:
$phpver = phpversion();
if ($phpver >= '4.0.4pl1' && strstr($HTTP_USER_AGENT,'compatible') {
if (extension_loaded('zlib')) {
ob_end_clean();
ob_start('ob_gzhandler');

and the second one:

Fatal error: Call to undefined function: get_lang() in C:\usr\Apache\Apache2\htdocs\html\admin.php on line 21


if (preg_match("/\?admin/", "$checkurl")) {
echo "die";
exit;
}
require_once("mainfile.php");
get_lang();

mayby this is something easy but like i said i a TOTAL begginer so i`ll by gratefull for all help icon_sad.gif. Thx.

[ Register or login to view links on this board.]



Back to top Reply with quote
#2   re: Hi! Can enyone help me???
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Jupiter reupload the files giving you a problem. WHat version of PHP is used on the server? Not PHPNuke but PHP.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Hi! Can enyone help me???
Jupiter
CZ Newbie
Jupiter has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 02, 2004
0.00 posts per day
Posts: 5
Points: 664
   
I have php 4.3.0 should i install some newer wersion?



Back to top Reply with quote
#4   re: Hi! Can enyone help me???
Jupiter
CZ Newbie
Jupiter has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 02, 2004
0.00 posts per day
Posts: 5
Points: 664
   
I`m now downloding php4.6.4 ill see if it helps, about reloading those files if they are rough without any changes those problems occures when i`m trying to start admin.php:
Notice: Undefined variable: HTTP_USER_AGENT in C:\usr\Apache\Apache2\htdocs\html\mainfile.php on line 16

Notice: import_request_variables() [function.import-request-variables]: No prefix specified - possible security hazard in C:\usr\Apache\Apache2\htdocs\html\mainfile.php on line 39

Notice: Undefined variable: forum_admin in C:\usr\Apache\Apache2\htdocs\html\mainfile.php on line 67

Notice: Undefined variable: inside_mod in C:\usr\Apache\Apache2\htdocs\html\mainfile.php on line 70

Notice: Undefined variable: inside_mod in C:\usr\Apache\Apache2\htdocs\html\db\db.php on line 44

Fatal error: Call to undefined function: message_die() in C:\usr\Apache\Apache2\htdocs\html\db\db.php on line 88

i have menaged to reduce them to only two that i mantioned earlyer.



Back to top Reply with quote
#5   re: Hi! Can enyone help me???
Jupiter
CZ Newbie
Jupiter has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 02, 2004
0.00 posts per day
Posts: 5
Points: 664
   
Um i have manage to fix those erlier problems but i have another question, i wont to ask if those notices are normal or am i doing something wrong again???




snap.jpg
 Description:
Thise is how it looks like
 Filesize:  231.4 KB
 Viewed:  10927 Time(s)

snap.jpg




Back to top Reply with quote
#6   
Staffie
CZ Revered Member
 Codezwiz Site Donator
uk.gif
Occupation: Investigation Officer
Age: 39
Gender: Male
Website:
Status: Offline
Joined: May 27, 2003
0.19 posts per day
Posts: 1454
Points: 401,085
   
for some reason the php in the picture you have supplied is pointing to your desktop. i am guessing you have a local server. From looking at that there is some kind of problem with the other files such as they are not there or in the right dir for them to work.




_________________
Back to top Reply with quote
#7   re: Hi! Can enyone help me???
Jupiter
CZ Newbie
Jupiter has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 02, 2004
0.00 posts per day
Posts: 5
Points: 664
   
Yes youre right this is my personal serv (the first one ever), i`ve set it up for practice (making sites in ftp befor i`ll go to some comercial serv), i`ve spent some time configuring it (by the walktrough) so i though its OK. But youre propably rigt and i have messd up something some acces path or something like that, but i tried changing all that i can paths, php.ini file and all config filles that i could. What else can i do?



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum