Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 23:03

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: admin problem
PostPosted: 4. Aug 2006, 20:40 
Offline

Joined: 1. Aug 2006, 09:16
Posts: 13
Michael:
I installed the gallery with success.
When I try to go inside the admin area, this is what I get.

Warning: Unknown: open(/path\sess_9r5pn3m0te9p2epslc2jc7ojd1, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/path) in Unknown on line 0

I have had this problem under other programs and since I am running my website with Windows Operating System, I twice did the following:
Code: session.save_path('c:/tmp');
Where did I put it: Write above the session_start();

I tried to do it with your program and in one case it sends me the same error code, and other times it sends me an undefined session.save_path...

Any Ideas to get it to work?
Regards
Franco7777
:cry:


Last edited by franco7777 on 5. Aug 2006, 21:09, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: 5. Aug 2006, 13:16 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Normal this path is set in the php.ini!

and make sure this path does exist :).

I normally have this path in the xamp sudir somewhere :).

and yes - if you add it to the script it has to be before session_start();
(I have naever made it like this!)

/Michael


Top
 Profile  
 
 Post subject: The path!
PostPosted: 5. Aug 2006, 21:16 
Offline

Joined: 1. Aug 2006, 09:16
Posts: 13
Michael:
Where do I find the path?
You said "xamp sudir", just can not find it.
Need help on this.
Regards
franco :roll:


Top
 Profile  
 
 Post subject: Admin problem
PostPosted: 5. Aug 2006, 21:24 
Offline

Joined: 1. Aug 2006, 09:16
Posts: 13
Michael:
Already installed RC2.
I am having the same problem.
When I write session.save_path('c/tmp'); at admin/includes/init.php
I get the following error again:

Notice: Use of undefined constant session - assumed 'session' in C:\Apache\Apache2\htdocs\twg15\admin\.include\init.php on line 48
Fatal error: Call to undefined function save_path() in C:\Apache\Apache2\htdocs\twg15\admin\.include\init.php on line 48

Regards
Franco :roll:

P.S. To tell you the truth, I love your program but have never been able to go inside the admin area, it has never worked for me. However, this time I am not planning to give up.
P.S.2 If required, I am willing to give you my VNC password so that you can go inside my site and look at it or fix it. Whenever you say. :lol:


Top
 Profile  
 
 Post subject:
PostPosted: 7. Aug 2006, 09:18 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

this is still not a problem of TWG but of your php configuration.

It seems you have a local webserver - this server has a php.ini - find it!

then look for the save_path and let this path point to a nice directory

it look like you are running on a windows system - then the savepath should not look like c/tmp but c:\tmp

....

/Michael


Top
 Profile  
 
 Post subject: Admin problem
PostPosted: 8. Aug 2006, 06:56 
Offline

Joined: 1. Aug 2006, 09:16
Posts: 13
Thanks for the help.
As of today I finally have an admin area working fine.
What I had to do is:
session_save_path('c:/tmpX'); (Note: this is the way in windows, NOT 'c:\tmpX')
This code goes right above the session_start();
I did that at 4 different places:
twg15/inc/mysessions.php
twg15admin/include/ini.php
twg15/admin/include/login.php
twg15/admin/tfu_config.php
Results: It is workin perfectly.
Why Did I had it to do like this:
Because i have 5 different programs that require sessions save and if I put all sessions inside one directory like php.ini would do it, then I will create a big mess and problems about password does not work, etc will arise. Instead, this way every program has a different session save path in different directories!!!.
Thanks
Franco :lol:


Top
 Profile  
 
 Post subject:
PostPosted: 8. Aug 2006, 08:44 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
good - important is that it works ;).

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 70 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy