Notifications
Clear all

Manage Images

16 Posts
7 Users
0 Reactions
7,911 Views
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

Just went into manage my images for the first time since the 3.3 upgrade at
http://www.pretendercentre.com/missingpieces/

and got these errors:

Warning: mkdir(/8) [function.mkdir]: Permission denied in /home/pretende/public_html/missingpieces/user/manageimages.php on line 193

Warning: chmod() [function.chmod]: No such file or directory in /home/pretende/public_html/missingpieces/user/manageimages.php on line 194

Warning: mkdir(/8/images) [function.mkdir]: No such file or directory in /home/pretende/public_html/missingpieces/user/manageimages.php on line 199

Warning: chmod() [function.chmod]: No such file or directory in /home/pretende/public_html/missingpieces/user/manageimages.php on line 200

Warning: opendir(/8/images) [function.opendir]: failed to open dir: No such file or directory in /home/pretende/public_html/missingpieces/user/manageimages.php on line 203

Warning: readdir(): supplied argument is not a valid Directory resource in /home/pretende/public_html/missingpieces/user/manageimages.php on line 207

and it is saying that i have no uploads, but there are 7 pics in my folder, which all worked before upgrade, although they are still displaying correctly.

after trying an upload i get

Manage Images
trig.gif successfully uploaded!
Filename HTML code to use image in story Options
No results found.

Upload New Images

and the same error messages on top.

thanks,
jacci


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 19/06/2007 12:22 pm
 Sue
(@sue)
Posts: 131
Estimable Member
 

I'm getting the same error when I try to "manage images"

Edited: I've checked the "stories" directory and it has a sub-directory with the uid as the name and it also has a directory called "images" under that. Both are CHMOD'd to 777.  If I ignore the error messages, I can actually upload an image, but the error message still persists.
Also, if the result of the image upload is supposed to return the HTML code to include in the story - it is reporting "no results found" (I'm not sure about this bit - this is the first time I've used the "Manage Image" option).


 
Posted : 25/06/2007 4:03 am
(@tammy)
Posts: 2577
Member Moderator
 

On lines 191 and 197 change $storiespath to STORIESPATH.


 
Posted : 25/06/2007 1:06 pm
 Sue
(@sue)
Posts: 131
Estimable Member
 

Many thanks - that's fixed my problem!


 
Posted : 25/06/2007 4:47 pm
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

Thanks Tammy, that fixed it in the user account area.

There is another problem i just discovered, which i am guessing is related.  When you use the tinymce, a dropdown used to be available for your uploaded images. That is no longer working. I have about 7 or 8 images in my account, all of which are now showing up on my page fine, but none are available in that insert image dropdown.

thanks again
jacci

ETA: Have opened a new topic for this one, since, athough it might be related, it is no doubt a different issue.


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 25/06/2007 8:30 pm
(@cloudyvisions)
Posts: 78
Trusted Member
 

On lines 191 and 197 change $storiespath to STORIESPATH.

I tried doing this as well, since I was getting the same error that jacci was getting, and I had this error come up at the top of the page and nothing else below it:

Parse error: syntax error, unexpected T_LNUMBER in /home/sinfulde/public_html/archive/user/manageimages.php on line 171

Is there something that I'm missing to have the Manage Images section work correctly?


URL: http://www.sinful-desire.org/archive
Version: 3.5.2
Modules: Story End, Beta Reader, Challenges, Story Tracker
PHP:  5.2.5
MySQL: 5.0.67

 
Posted : 14/07/2007 11:40 pm
 DebC
(@debc)
Posts: 3
New Member
 

On lines 191 and 197 change $storiespath to STORIESPATH.

This solved my image uploading issues, but when I tried to delete one, I got this error:

Warning: opendir() [function.opendir]: open_basedir restriction in effect. File(/1/images) is not within the allowed path(s): (/home/lihipcab/:/usr/lib/php:/usr/local/sqmail:/usr/local/lib/php:/tmp) in /home/lihipcab/public_html/debc/user/manageimages.php on line 181

Warning: opendir(/1/images) [function.opendir]: failed to open dir: Operation not permitted in /home/lihipcab/public_html/debc/user/manageimages.php on line 181

Warning: readdir(): supplied argument is not a valid Directory resource in /home/lihipcab/public_html/debc/user/manageimages.php on line 182

Thoughts?


 
Posted : 13/08/2007 2:05 pm
(@tammy)
Posts: 2577
Member Moderator
 

Didn't I answer this in another thread today?  Doesn't seem like you've got a storiespath set.


 
Posted : 13/08/2007 5:17 pm
 DebC
(@debc)
Posts: 3
New Member
 

Didn't I answer this in another thread today?  Doesn't seem like you've got a storiespath set.

No, I have the settings right.  And I have resolved it on my own.  For future references, on line 179, there is another $storiespath that needs to be changed to STORIESPATH.  As soon as I changed it, I was able to delete images.  πŸ˜†


 
Posted : 13/08/2007 9:52 pm
(@spookymulder)
Posts: 76
Trusted Member
 

line 191 and 197 of what? I'm having this problem as well and hope this will fix it, but I'm not sure where to go to make this change.


Severus Snape: "I've never had any interest in being fair. Only in being honest."
~The Girl in the Tower By: SpookyMulder

www.spookamania.com

 
Posted : 14/10/2007 3:19 am
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

the file is in
user/manageimages.php

and there is also one on line 179 too


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 14/10/2007 7:29 am
(@spookymulder)
Posts: 76
Trusted Member
 

Thanks so much! Problem solved!  πŸ™‚


Severus Snape: "I've never had any interest in being fair. Only in being honest."
~The Girl in the Tower By: SpookyMulder

www.spookamania.com

 
Posted : 14/10/2007 10:11 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Can you please check and see if this is still an issue with 3.5? Thank you!


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 07/04/2009 2:26 am
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

Sorry Jan_AQ, i installed 3.5 but had so many issues with it, rolled my installation back to 3.4.3, so have no idea if this is still a problem. Good to have you back on the boards too, hope all is well.


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 07/04/2009 2:46 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Please check and see if this is an issue still with 3.5.1. Thank you.


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 24/04/2009 9:16 pm
Page 1 / 2
Share: