close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

fopen fwrite fclose trouble

Thread began 2/09/2011 4:18 pm by alain28963 | Last modified 2/15/2011 8:24 am by Jason Byrnes | 4026 views | 8 replies |

alain28963

fopen fwrite fclose trouble

My powercms2 is intalled and work since 3 good weeks. I have not touch it since 1 week.

I come back totay powercms2 and I have this error message.

Warning: fopen(../Connections/installed_cms.txt) [function.fopen]: failed to open stream: Permission denied in /var/www/vhosts/tubefamily.net/httpdocs/powercms2/images/installed.png on line 19
Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/tubefamily.net/httpdocs/powercms2/images/installed.png on line 20
Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/tubefamily.net/httpdocs/powercms2/images/installed.png on line 21


What is this ????
How to fix it ????

Sign in to reply to this post

Jason ByrnesWebAssist

here is a new copy of the installed.png file to correct the problem, copy it to the following folder in your site:
admin_gallery/images/installed.png


also, edit the admin_gallery/global.php file, change lines 34 - 37:

php:
require_once("images/installed.png");

//PowerGallery version
$wa_settings['pg_version'] = '1.2.0';
mysql_free_result($result);



to:

php:
//PowerGallery version

$wa_settings['pg_version'] = '1.2.0';
mysql_free_result($result);
require_once("images/installed.png");
Attached Files
installed.png.zip
Sign in to reply to this post

alain28963

The folder not on powercms2

The forlder you talking about are not on powercms2 (WEB site and Download ZIP installation)

I add in attachement a JPEG with the folder tree of powercms2 on the web site

Can you give me more help ?

Sign in to reply to this post

neilo

I think you might find it in at yoursite.net/powercms2/images/installed.png.

Try replacing that one, to see if that fixes the issue.

Sign in to reply to this post

alain28963

Still have one line error

I transfert the png file to to images folder and still have an error message
(I keep a bkup before)

Look at for the error message :
powercms2

Also, I do not modify the admin_gallery/global.php I don't find it

Please help !

Sign in to reply to this post

neilo

Hi Alain,

Apologies, I think there was some confusion over which application we were referring to.

Please could you try unzipping and uploading the attached installed.png file to replace the existing one.

Don't bother with the admin_gallery/global.php.

Attached Files
installed.zip
Sign in to reply to this post

alain28963

Still not work

I try it and the message still be there

users_login.php

Sign in to reply to this post

neilo

Hi Alain,

Sorry this is an ongoing problem for you. Please could you check the permissions for your powercms2/Connections folder, and check that they are set to 755?

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...