Admin shows a bunch of question marks

Problems installing LinkMan?
Fyb3roptik
Posts: 7
Joined: Tue Apr 21, 2009 7:27 pm

Admin shows a bunch of question marks

Post by Fyb3roptik »

Script URL: http://adwido.com/linkman
Version of script: 1.7
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
I have this script linked to admin.php and this is what it shows. I ran it from terminal and got the same exact thing. What is going on?

I followed installation correctly
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

It's something on your server that's causing this, because you get the same ??? page even if you open a random (non-existing) URL:
http://adwido.com/linkman/sfsdflsdfjsdlf

What is it? No idea. Did you download LinkMan from the original website? Do you have any other files in the LinkMan folder? Any redirects? Is PHP working on your server?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Fyb3roptik
Posts: 7
Joined: Tue Apr 21, 2009 7:27 pm

Post by Fyb3roptik »

found an issue with your code it looks like.

all the settings lines

$settings['site_url']=\''.$settings['site_url'].'\';

the \ at the end is causing issues with php
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Backslashes are not in the original settings.php file. I don't know where you got it from but I strongly recommend that you download LinkMan again from the official download site, delete old files and reinstall the original one:
http://www.phpjunkyard.com/php-link-manager.php
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Fyb3roptik
Posts: 7
Joined: Tue Apr 21, 2009 7:27 pm

Post by Fyb3roptik »

I have several times now.

Its in the admin.php file starting at line 1971. I use CODA for my editing and it is showing all the php code after that line as txt and not code. Like its commented out.
Fyb3roptik
Posts: 7
Joined: Tue Apr 21, 2009 7:27 pm

Post by Fyb3roptik »

Is there a way i can download previous versions? Is this on sourceforge?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

It should be like that in admin.php because that are commented out lines for generating a new settings.php file (it's the same in update.php file). The text after that shows as text probably because your editor doesn't handle markup correctly (probably the <?php and ?> in the $settings_file variable throw it out of track).

Anyway, this is not a problem with the code, ti works fine on hundreds of servers. It's a server problem. If it was a code problem you'd get a PHP parse error.

And like said before it's not just PHP files, anything you type gets that page, for example:
http://adwido.com/linkman/sfsdflsdfjsdlf
http://adwido.com/linkman/readme.html
http://adwido.com/linkman/links.php
... anything. It's a server problem.

Unless you can post your phpinfo file (get it here: viewtopic.php?t=80 ) to check your PHP setup I can't be of any further help.

No, old versions are not available and it doesn't really matter because it's not the code that's causing this.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Fyb3roptik
Posts: 7
Joined: Tue Apr 21, 2009 7:27 pm

Post by Fyb3roptik »

Fyb3roptik
Posts: 7
Joined: Tue Apr 21, 2009 7:27 pm

Post by Fyb3roptik »

I see what your saying on the lines of code there. Let me know what it is so maybe we can get it working and can have it documented in the troubleshooting portion =P

Thanks for the help
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

PHP looks fine, so it's either something you have in the "linkman" folder or some strange redirect settings (I see you have pages set to redirect without file extension)?

Get a simple plain HTML file working in the LinkMan folder, for example the readme file:
http://adwido.com/linkman/readme.html

Once you can do that we can go on.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

... and if you have any htaccess files in the LinkMan folder delete them.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Fyb3roptik
Posts: 7
Joined: Tue Apr 21, 2009 7:27 pm

Post by Fyb3roptik »

http://adwido.com/linkman

I have it pointing to the index.php file

It works on only that file

EDIT: I added

echo "Index Works";
exit();

to the file.

If i do the same thing for the admin.php file it does not work. It still does the question marks.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I have the same message with admin.php (try to reload it):
http://www.adwido.com/linkman/admin.php

You really should try deleting the linkman folder and install it into a new folder. Also make sure you switch off any redirects you have set for the LinkMan folder. In my opinion this is the exact problem - instead of admin.php (or readme.html, or asdasdsdfsd.html) it opens some other file and not the correct one because of some redirections. If you have mod_rewrite turned on to handle redirections turn it off for the linkman folder.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
wsi
Posts: 3
Joined: Wed May 06, 2009 10:16 am

Post by wsi »

I have the same problem. I've followed the readme and tried a few times, and redownloaded and tried that.

Any ideas?

Script URL:

Code: Select all

http://2spr.com/links/links.php
Version of script: 1.7
Hosting company: Own server
URL of phpinfo.php:

Code: Select all

http://audiohosting.org/phpinfo.php
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I'm not sure what's causing this and why it is so rare (yours is the second one reported since 2004). It must either be a server issue or an issue with transferring files. What program did you use to transfer LinkMan files to the server?

If you can give me temporary FTP access to your server send me a private message and I will have a look, but other than that I'm afraid I can't help.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply