Menu

#1 Problems running YaPiG

closed
nobody
None
5
2003-12-08
2003-12-04
Anonymous
No

I put the files and folders into my web folder and ran
install.php. Then I went into the config.php file and
changed the name and password. When I viewed the
admin.php and put in my new name and password it just
brought me back to the admin.php page.

I then set all files and folder's permissions to 777 to
make sure that wasn't the problem. After this failed to
work I bypassed the security by altering the code.

Now I came to the add_gallery.php and entered the
proper information. No matter what I tried I continue to
get the error message: Error: Directory where images
are stored required!

There must be something incorrect with the way all of
this information is being read in that it is getting
corrupted and not working properly. The webserver is
on a Macintosh. Might this make a difference?

Confused in Tucson

Discussion

  • Juan M.

    Juan M. - 2003-12-04

    Logged In: YES
    user_id=868982

    Well, yapig has a problem with session (view sesions
    problems bug), although it can be a server configuration
    problem related with sessions. The bug will be solved in
    next release. I will try to have it prepared next week.

    Related to the Error code you get. Well that error is caused
    by this line:

    if (!isset($dir)) error(_y("Directory where images are
    stored required!"));

    $dir is a variable introduced in the Add Gallery form
    (Location input text).

    To bypass the admin login:

    use the original source code. Edit functions.php
    check_admin_login() function to return always true (maybe
    that was what you did)

    Then try again to create a new gallery. I recommend you to
    use default values until it works

    Thank you for using yapig and helping me to debug it!

     
  • Juan M.

    Juan M. - 2003-12-08
    • labels: 585500 -->
    • status: open --> closed
     

Log in to post a comment.

Auth0 Logo