Cannot access admin

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
hj
Posts: 13
Joined: Tue Jan 13, 2004 1:30 am

Cannot access admin

Post by hj »

Hi,

I've installed phpMyFAQ (version 1.39) on a local Win98 PC to test it. My setup is:

PHP 4.3.0
MySQL 3.23.54
Apache 1.3.27

I can see the main interface when I call /faq/index.php, although there is some code written over the top of the control panel which I don't think should be there.

When I try to access /faq/admin/index.php, I get no login interface, simply this text:

Code: Select all

$sprache = "english.php"; "true"; # use Adminlog? $enableadminlog = "true"; # Do you want the IP to be checked when checking the UINs in admin.php? $ipcheck = "true"; # Number of news articles $numNewsArticles = "3"; # Ban these IPs $bannedIP = ""; ?>
The file ../lang/config_.dat is not readable.
(I have a screenshot of all this, but don't know how to upload it here..??)

Any suggestions as to what is going wrong? Remember, this setup is on a local PC (Win98) where no permissions are necessary for files.

Hugh
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi Hugh,

please send the screenshot to thorsten@phpmyfaq.de!

thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hj
Posts: 13
Joined: Tue Jan 13, 2004 1:30 am

Post by hj »

It's OK, Thorsten, I fixed it. I guessed there might be a corrupted file somewhere, so I just downloaded the script again and did a fresh install - everything worked fine.

I love the well thought-out interface of the script, and the ability of users to ask questions and view other peoples' questions. Very good. Certainly fits the bill for me, better than any other FAQ script.

The only downside is that the script seems very slow. It can take 20-30 seconds to execute a command and show a new screen. And this is on a local PC installation (i.e. the server is on my hard disk) with no internet/remote server connection to slow things down. So it should be fast. Not sure why it is so slow. If I 'Ask a Question' and fill out the form, it just refuses to submit - as though the whole script is choking. I've tried half a dozen times to submit a question, and the progress bar at the bottom of the browser crawls along and then gets stuck half way. Impossible to submit a question!

If I can resolve these small (well, big!) issues, then this is the script for me!

Hugh
hj
Posts: 13
Joined: Tue Jan 13, 2004 1:30 am

Further problem...

Post by hj »

Oh dear, sadly another problem.

I read in another topic that the problem with slow operation might be because tracking was activated. So I went to my admin/configuration options and turned off tracking.

When I then viewed the main FAQ site again, all my categories and entries had disappeared :x

So I returned to my control panel (in another browser window) and clicked the 'configuration' link to turn tracking back on. But all I got when I click the link is a blank page with the message:

Code: Select all

The file ../lang/A is not readable
Whichever link I now click in admin, I get this same message.

I've lost everything :cry:

What is happening here? I cannot go live with this script if it does not work!!
hj
Posts: 13
Joined: Tue Jan 13, 2004 1:30 am

further update...

Post by hj »

OK, I decided to try the whole thing on a remote server. so I uploaded everything to my web space and installed. What do you know? the whole thing works as expected and much faster than on my local pc setup. Weird!

However, I cannot upload attachments. Whenever I try, I get the message An error occurred when uploading. It doesn't say what kind of error. I checked the attachments directory is CHMOD 777. Also I checked that my upload file is within the size specified in config. ???

I notice that the script creates directories within the attachments directory. I am unable to change the permissions of these 'created' directories. Nor can I open them to see their contents. Nor can I delete them!! This is a problem :oops:

I have other questions but will ask them under another topic heading. At least the script seems to be running at satisfactory speed!
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

can you please post a phpinfo() page from your page?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hj
Posts: 13
Joined: Tue Jan 13, 2004 1:30 am

Post by hj »

Thorsten,

email sent to you separately with details.

Hugh
Post Reply