writabilty_test problem

My webhost recently upgraded to PHP 5.2.* and now phpAlbum is no longer working. Here is the error output:
----------------------------------------------------------------
Warning: fopen(kj67bd7sd6data/writablity_test) [function.fopen]: failed to open stream: Permission denied in /home/niko27/public_html/galeria/main.php on line 2307

Warning: fclose(): supplied argument is not a valid stream resource in /home/niko27/public_html/galeria/main.php on line 2308
Welcome to phpAlbum 0.4.1.14
Your data directory kj67bd7sd6data/ is not writable
Please change the rights on this directory so php can write in it. (UNIX: CHMOD 777, WINDOWS: setup rights)
----------------------------------------------------------------

The permissions on all the files are set correctly to 777, so that is not the problem. Nothing has been changed except the php upgrade. If you Google "writablity_test" you will see that there are quite a few other people experiencing the same problem. How can we fix this?

Following should help you: -

Following should help you:

- delete writablity_test file in your data/cache directory
- if it does not help, check if your data/cache (not the files but the directory) directory is writable so that phpAlbum can create new files there

Patrik

Thanks Patrik

I tried all your suggestions, including making all the directories writable - just to make sure. It still produced the same errors. However, after complaining to my web host about the situation they were able to do something to fix things. I don't know what they did, but they indicated that it had to do with the configuration of new PHP upgrade and not with the script itself. The script was working just fine for months and months until they did the PHP upgrade.

What about the Auto Installer

Hey Patrik!

This software seems pretty awesome so far. But my favorite
feature is the auto-installer directly from your site. I seen
a post dated back in 2005 about you making this code avaiblable.
Did that ever happen?

I would love to see how you do this. It would save me countless
hours with customer support issues. Any plans on releasing this
code or could you give me some pointers on how I can make similar
scripts to install things from my server to client servers?

Thanks in Advance!

Matt

Hi, thanx for your

Hi,

thanx for your compliments to the software :)

Most of the installer is done with php functions for FTP.
You can find them here php.net/ftp

With these functions you can simulate ftp client and so upload files to some server. It is quite easy and you will surely find many examples on net.

Patrik

Thanks Patrik!

I should have known to just search php.net. :o)

"Re: This is the best installer I,ve ever seen
Submitted by Anonymous on Fri, 2006-01-20 20:33.

Soon i make new project for this installer. I just have to make it little bit more universal so other developres can use it ... and of course with better design :))
Bye!"

I was hoping you might have an example to show me. I've been learning php on my own but don't quite have my head wrapped around it to the point that I can write my own scripts. I am pretty good at figuring out what the php does when I see the codes inside a script, I just have a hard time coming up with them myself. LOL

I would be greatly appreciative if you could perhaps send me the code sample you are using. I looked at php.net and found one example, but I don't know how to use it. I always get an error when I upload the script to my site. Any help you could offer would be great. In the meantime, I will definitely be searching the internet for examples and sample code.

Now one other question I have about your software, is there any simple way to delete images from the admin panel? I can't seem to find that feature.

I'm liking the software, but was hoping for easy image management as well. Sometimes I might upload a few images I didn't really want online, I kinda figured there would be a way to delete single images if I wanted.

Thanks again!

Matt

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">