Problems installing LinkMan?
Anom
Post
by Anom » Thu Mar 10, 2005 5:07 pm
Hello.
I get this kind of error when i try to enter the admin-side of LinkMan.
The add-link -side is working correctly.
Fatal error: Call to undefined function: mainpage() in %path%/admin.php on line 52
WHat should i do
Klemen
Site Admin
Posts: 10116 Joined: Fri Feb 11, 2005 4:04 pm
Post
by Klemen » Thu Mar 10, 2005 5:23 pm
Hello,
Have you been editing the script? Try making a clean installation, without adding any header/footer or editing anything except settings.php
Regards
Anom
Post
by Anom » Thu Mar 10, 2005 6:31 pm
The only thing i have changed in admin-file is its name. It used to be the original index.php, i changed it into admin.php. Then i replaced all instances of string "index.php" to "admin.php".
Can editing some other files like header.txt affect this functionality?
Klemen
Site Admin
Posts: 10116 Joined: Fri Feb 11, 2005 4:04 pm
Post
by Klemen » Thu Mar 10, 2005 8:45 pm
Unless you have some PHP code that would collide with the one from LinkMan editing header/footer shouldn't be a problem.
Did you try installing a clean version of LinkMan? You can do that in a separate folder, just to make sure it works on your server...
Anom
Post
by Anom » Sat Mar 12, 2005 10:50 am
Ok, now i did a clean install, just changed the admin password.
The same error comes up.
Do you have any idea what to do?
Anom
Post
by Anom » Sat Mar 12, 2005 10:52 am
The server i have this installed has disabled phpinfo(), so i can't get to know the details of php.
Anom
Post
by Anom » Sat Mar 12, 2005 11:32 am
Problem solved.
In the clean install file index.php, line 169 is php starting tag "<?". The server where my files are at, supports only php starting tag "<?php". After changing this the script works perfectly.
Thank you for this wonderfull software.
Webmaster of:
http://koti.mbnet.fi/doglinks/
Klemen
Site Admin
Posts: 10116 Joined: Fri Feb 11, 2005 4:04 pm
Post
by Klemen » Sat Mar 12, 2005 12:19 pm
I try to use the standard <?php all the time, guess that one slipped away
Thanks for letting me know, I have changed that in the original version as well.
Regards