Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
admin panel
05-26-2011, 05:18 AM (This post was last modified: 05-27-2011 12:34 AM by tammietaylor.)
Post: #1
admin panel
Hi,


Hi I am still have problem trying to the the admin page to display. Please see below. So far, I have to manually setup everything including uploading photos to server.

I get to the point that I can put in the default password and I get the little black box up in the left corner that said “setting, upload photo and logout”, the first 2 doesn't’ work when I do click on it and the only one that does work is the logout.

The browsers that I am using are: firefox 4.01, safari 5.05 (553321.1), Chrome 11.0.696.68 and Opera 11.11 (2109).

I did try looking at some of the code and I found this in "yellow marking" inside of my Dreamweaver CS4

error was found in the /ki_base/ki_js_setting.php and in ki_js_upload.php in the same directory

<span style='cursor:pointer; text-decoration:underline; margin-right:5px; line-height:14px;' onclick=\"kiu.setFolder('" + kib.dirs[i] + "')\">" + kib.dirs[i] + "</span>";

I don't know if that would stop the file to running. I have not done any changes to the files.

PLEASE HELP!

I would like to finished this project, so that I might be able to give it to my son as a "father day" gift of photos of his son.

the website I am trying to get this to work on is at http://www.pventertainment.com

Tammie
Find all posts by this user
Quote this message in a reply
05-26-2011, 08:22 AM
Post: #2
RE: admin panel
Hi Tammie!

I have checked your site and the main reason the admin panel is not working is that every request to "ki_js_upload.php" and "ki_js_settings.php" lead to an empty response from your server. I'm not sure if this happens because of the server is not able to establish a php-session or any other error on the server side.
Both php-files have the line "if($pwok == 0)exit();" ... Please try to comment out this line ( means to put two slashes // in front of the line ) and see if this helps ...

KoschtIT Image Gallery developer
Visit this user's website Find all posts by this user
Quote this message in a reply
05-26-2011, 08:39 AM
Post: #3
RE: admin panel
(05-26-2011 08:22 AM)kkokus Wrote:  Hi Tammie!

I have checked your site and the main reason the admin panel is not working is that every request to "ki_js_upload.php" and "ki_js_settings.php" lead to an empty response from your server. I'm not sure if this happens because of the server is not able to establish a php-session or any other error on the server side.
Both php-files have the line "if($pwok == 0)exit();" ... Please try to comment out this line ( means to put two slashes // in front of the line ) and see if this helps ...

Hi

I comment out that portion of the code on both files, and I still do not have any success.

I do hope that you can help, as you see from the website, it works great with all the features except for the admin section, which is great for uploading from a non-computer person.

Thanks for your help on this.

Tammie
Find all posts by this user
Quote this message in a reply
05-26-2011, 12:07 PM
Post: #4
RE: admin panel
Please enable error reporting in your php - options. As long as I don't see any error message I can't help you from here ...

KoschtIT Image Gallery developer
Visit this user's website Find all posts by this user
Quote this message in a reply
05-26-2011, 12:25 PM (This post was last modified: 05-26-2011 12:31 PM by tammietaylor.)
Post: #5
RE: admin panel
(05-26-2011 12:07 PM)kkokus Wrote:  Please enable error reporting in your php - options. As long as I don't see any error message I can't help you from here ...
It was already set to enable. Please let me know what else you need.

thanks for your help!
Find all posts by this user
Quote this message in a reply
05-26-2011, 12:33 PM
Post: #6
RE: admin panel
Please make a file that shows phpinfo()-output, so I can see your configuration environment. Are PHP-Sessions somehow forbidden on your server? Even if you are logged in, the script believes you are logged out ...

KoschtIT Image Gallery developer
Visit this user's website Find all posts by this user
Quote this message in a reply
08-04-2011, 11:09 PM
Post: #7
RE: admin panel
Hi,
I have setup the script on my site and it works fine. The only problem I have is that I can not have the Admin page. When I type ?admin=user in front of the URL it only show an almost empty page with some links to my other pages. You can see the site at this address : http://www.alborz-restaurant.co.uk/gallery.php
I must tell you that initially I was getting an error message saying: Koschtit can't get writting permission on the server (ki_galleries\mygalleryname\thumbs-folder). Thumbs won't be saved. Please disable $thumbs_to_disk or grant writing permission. Further it says user comments and picture comment won't be saved suggesting some actions to be taken.
The problem is I am not PHP programmer and I don't know where to start or how to modify things. Or not sure how to grant permission. Please advice. If you want to see the error yourself let me know I will enable it.

Many thanks

Hamid
Find all posts by this user
Quote this message in a reply
08-04-2011, 11:24 PM
Post: #8
RE: admin panel
For the admin panel just open http://www.alborz-restaurant.co.uk/galle...admin=user . If you want to grant writing permission to the script folder you will need to use ftp-software like filezilla for example ... Navigate to the script folder and then set for all three "ki_"-folders the file permissions to 777.

KoschtIT Image Gallery developer
Visit this user's website Find all posts by this user
Quote this message in a reply
09-13-2011, 01:56 PM (This post was last modified: 09-13-2011 05:16 PM by BrankoD.)
Post: #9
RE: admin panel
I tried every advice I have found on this forum. None of them solves my problem. And my problem is the same as above. When I log on admin panel, only the logout button is working.

I tried to comment this line "if($pwok == 0)exit();" in "ki_js_upload.php" and "ki_js_settings.php", then I can use settings, but every field is empty, when I filled every field then it says that it can't save changes to ki_setup.

Also it can't upload photos, it says it's uploading, but after completing there are no new photos in the folder.

I thought it is the problem with a permissions and I put 777 for three ki_folders, than the gallery won't work at all.

For me last version with a working admin panel is 2.6beta.

What is causing this problem?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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