Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can not open /?admin=user
12-18-2011, 10:15 PM
Post: #1
Can not open /?admin=user
Hello,
I have implemented this great Gallery into my CMS (opensolution.org).

Due to the fact that php-code is not allowed in the "normal" pages I have added the code "<?php include_once("kg/ki_include.php"); ?>" in a php-script which describes the format of the page - so far so good.
Unfortunately the size of the gallery does not meet my size of my page, so that I want to open the admin page - unfortunately this does not work.

Example:
Page to see the gallery:
http://www.testpage/?test2,47
This page includes:
<div class="koschtitgallery" title="sample"></div>
The "physical adress" is "/kg/ki_galleries/sample"

The gallery is shown.
But when trying to open:
"http://www.testpage/kg/ki_galleries/sample/?admin=user" nothing happens.
I believe the reason for that, is that "kg/ki_include.php" is not includes in this case.

Any hint is welcome.

Refards
kuzco
Find all posts by this user
Quote this message in a reply
12-18-2011, 10:45 PM
Post: #2
RE: Can not open /?admin=user
Please read the script documentation. The URL's you provided are not valid.

KoschtIT Image Gallery developer
Visit this user's website Find all posts by this user
Quote this message in a reply
12-18-2011, 11:48 PM
Post: #3
RE: Can not open /?admin=user
Hm, I believe that I have added the right script to my CMS.
The gallery is shown on my page, unfortunately the admin page is not accessable.
Secondly, I have problems with different browsers.
When using Firefox the gallery is shown, when using IE9 nothing happens.

In case you want to see my homepage, I can provide you the link

regards
kuzco
Find all posts by this user
Quote this message in a reply
12-18-2011, 11:55 PM
Post: #4
RE: Can not open /?admin=user
Please give me a link, so I can help you with your problem. If you have issues with different browsers I guess your webpage is poorly build. Did you include the correct DOCTYPE?

KoschtIT Image Gallery developer
Visit this user's website Find all posts by this user
Quote this message in a reply
12-19-2011, 08:54 AM
Post: #5
RE: Can not open /?admin=user
(12-18-2011 11:55 PM)kkokus Wrote:  Please give me a link, so I can help you with your problem. If you have issues with different browsers I guess your webpage is poorly build. Did you include the correct DOCTYPE?

I have create a link on our page:
http://www.loser86.de/?koschtit-test,47

The two problems I have:
1. Firefox is working, IE9 not
2. can not access the admin panel

For clarification:
I am using a CMS (opensolution.org), which does not allow php within the html sourcecode, therefore I have edited the php-layout template to include ki_include.php.

Any help is appreciated.
Find all posts by this user
Quote this message in a reply
12-19-2011, 09:58 AM
Post: #6
RE: Can not open /?admin=user
You have to place the <?php include_once("kg/ki_include.php"); ?> line to the right spot. It belongs inside the <head>-section of a website. But you put it on the very top of your page sourcecode. This is why IE9 goes into Quirks-Mode and you are doomed!
Please read again the script documentation and do everything exactly the way it is described there.

If I open the page http://www.loser86.de/?koschtit-test,47?admin=user I get redirected to a wrong page. Must be some wrong server configuration or your CMS is doing this.

If you can't open the admin panel just edit the "ki_setup.php"-file by yourself. You can open it with a text editor and then change your desired parameters. Save it and upload it to your server.

KoschtIT Image Gallery developer
Visit this user's website Find all posts by this user
Quote this message in a reply
12-19-2011, 10:03 AM
Post: #7
RE: Can not open /?admin=user
(12-19-2011 09:58 AM)kkokus Wrote:  You have to place the <?php include_once("kg/ki_include.php"); ?> line to the right spot. It belongs inside the <head>-section of a website. But you put it on the very top of your page sourcecode. This is why IE9 goes into Quirks-Mode and you are doomed!
Please read again the script documentation and do everything exactly the way it is described there.

If I open the page http://www.loser86.de/?koschtit-test,47?admin=user I get redirected to a wrong page. Must be some wrong server configuration or your CMS is doing this.

If you can't open the admin panel just edit the "ki_setup.php"-file by yourself. You can open it with a text editor and then change your desired parameters. Save it and upload it to your server.

Thanks for the quick answer.
I have found the error for IE. It seems that the "global template" was not valid for my testpage. I have added the doctype definition directly into ki_setup.php (first line) - now IE9 is working.

For the admion panel problem, I have to verify.

rgeard
kuzco
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)