HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Abstract file management ?!

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#27531 (In Topic #6344)
Avatar

Fan in action

 Hello again,

I've a problem with upgrading, or addons.
If i use the "Import Addon" function in admin zone the first steps are ok, i have the addon on the top in addon menu.
then i click on the " I " to Install, then there are the files, i press "+add" i get the "<span style="font-weight: bold;">Abstract file management" page i type in my ftp password but if i want to proceed i get the following error:
</span>PHP WARNING [2] tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File(/tmp/) is not within the allowed path(s): (/home/vhosts/5000140311/fanroom.de) (ocPortal version: 3.0.17, PHP version: 5.2.0, URL: /adminzone/index.php?page=admin_addons&type=_addon_install&f
ile=ocworld.tar)

Any idea what i did wrong?
i can overwrite all files of the .tar archive but im not sure that this works… for example the new patch, is it sufficiently to overwrite all files from archive to ftp ?

 
Back to the top
 
Posted
Rating:
#27532
Avatar

I believe the new patch actually fixes this very bug. To manually apply the patch (as described in our upgrading tutorial), upload the files in the upgrade archive over the files on your site, then run http://mysite/force_upgrade.php to finish off the process.

Back to the top
 
Posted
Rating:
#27537
Avatar

Fan in action

thx! i try this next.
but why i become the following error if i want install a fresh copy of ocportal, for example the complete (not the patch) 3.0.17 version?

PHP [2] ftp_nlist() [<a href='function.ftp-nlist'>function.ftp-nlist</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/vhosts/5000xxxxx/MYSITE.de)
 
Back to the top
 
Posted
Rating:
#27539
Avatar

Philip wasn't quite correct - a similar error message relates to a bug we just fixed, but what you are getting is not the same problem. I used to think this was a server configuration problem, and it kind of is, but I think we'll also treat it as a bug. I've attached a new quick installer – please try it out.

Attachment
» Download: quick.zip (10 Mb, 1129 downloads so far)


(this isn't an official release, but it contains all the bug fixes to this point)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#27542
Avatar

Fan in action

have thx for your support.
but i have the same error, the first installation was without any problems, but i have changed so much that i wanted to re-install the portal.
i like this portal sooo much… i want it back :'(

Maybe i try an older Version and update that manualy to the newest.
Because i tried an older Version before (but have still installed the newest) and that worked.
 
Back to the top
 
Posted
Rating:
#27545
Avatar

Please attach a screenshot of the screen the error occurs on, and include the URL in it. That might help us help you further.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#27546
Avatar

Fan in action

 here is the screen
thx
 

Back to the top
 
Posted
Rating:
#27549
Avatar

Thanks. I think this must be a PHP bug (possibly http://bugs.php.net/bug.php?id=28865). One thing you could do is ask your web host to put "/tmp" into the PHP "open_basedir" setting.
However, I've also attached the manual installer (the same patch level as the quick installer I posted above) which will probably work.

Attachment
» Download: manual.zip (11 Mb, 914 downloads so far)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#27551
Avatar

Fan in action

 I think the manual installer works, but how can i set the permissions?
How can i run the batch file on the Server? Or must i set the permissions manualy?

PS: My Server have a tmp Folder on it.
When i run my ftp client i can see 2 Folders
 - htdocs (There are all Files in, ocPortal for examle
 - tmp (there are 5 Files like sess_sle04ifn34fl29534j without ext.)

Thanks for your great Help
 
Back to the top
 
Posted
Rating:
#27554
Avatar

If you have "shell access", then you can log in and do:

Code

cd htdocs
chmod +x fixperms.sh
./fixperms.sh
however most hosts do not provide this. Therefore you have two choices:
  • (1) set permissions manually using the ftp client (as documented in the installation tutorial)
  • or (2) just set permissions for (if I remember correctly), the lang_cached/EN directory, and then open up force_upgrade.php in the web browser and choose to set permissions from that (you'll need to give it your FTP settings first).

The second method is unofficial as it's only really intended for maintenance, not installation – but I have done it myself before, to save time.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#27618
Avatar

Fan in action

hey sorry for the long time to answer
so I'll try step 1, cos step 2 dont work for me.

Have big thx to all for your big help
 
Back to the top
 
Posted
Rating:
#27634
Avatar

Fan in action

 Hi I'm sorry but i have a new problem.
The Installation worked for me, but the abstract_file_manager.php File has an error:
Parse error: syntax error, unexpected ',' in ……. on line 478

Here is the line:

      $path2=tempnam(((((ini_get('safe_mode')=='1') || ((ini_get('open_basedir')!='') && (strpos(ini_get('open_basedir'),'/tmp')===false)))?get_custo
m_file_base().'/uploads/attachments/':'/tmp/'),'ocpafm');

I think its the ',' i marked red.
Back to the top
 
Posted
Rating:
#27659
Avatar

Sorry about that. There are 5 brackets just after 'tempnam', and there should only be 4.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#27691
Avatar

Fan in action

 hey no problem you do your best (and thats really good ;).)
I've deleted one ( and now its working fine for me,
have big thanks for your great help, and to all others who have tried to help me, thanks too.
 
Back to the top
 
Posted
Rating:
#27828
Avatar

Fan in action

hi again, I've founded some errors… sry for this bad news.
Error 1: The IM dont work, i can't open an IM conversation.
Error 2: The Usergroups don't work correctly, if an user reach xxx points, the user dont level up to the next group.
The Promotion threshold in Group1 (Join Group) is 1000 for example and the Promotion target is Group2, I give some points to the user, 2000 for example but the user is still in Group1, why?
I don't know what you've changed in 3.0.18, but the IM has worked in 3.0.17 for me.
 
Back to the top
 
Posted
Rating:
#27829
Avatar

Me2006 said

Error 1: The IM dont work, i can't open an IM conversation.

Could you provide more information than this please? What happens when you try to open an IM conversation? Where are you trying?

Error 2: The Usergroups don't work correctly, if an user reach xxx points, the user dont level up to the next group.
The Promotion threshold in Group1 (Join Group) is 1000 for example and the Promotion target is Group2, I give some points to the user, 2000 for example but the user is still in Group1, why?

Groups are only recalculated after a member has posted something, so if they make a post once you've given them points, they should move up to the next group. (This is done for efficiency reasons.) :)


Last edit: by Chris Graham

Back to the top
 
Posted
Rating:
#27839
Avatar

Fan in action

  Ah ok i understand. (the group problem)

I mark an user in the chat page und click on "start conversation".
And nothing happens.
I tried the Link in the member profile too, self problem.
Have thanks for your help
Back to the top
 
Posted
Rating:
#27842
Avatar

Do any Javascript errors occur in the web browser? For Internet Explorer, a clickable error icon appears in the bottom-left. For Firefox, a log is available on the menubar at Tools->Error Console (it's advisable to clear the log before loading up ocPortal, so that you only see the errors caused within ocPortal and not everything since you opened up the web browser).

If you see errors, what are they?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#27849
Avatar

Fan in action

 In FireFox i get the following errors:
Error: uncaught exception: The permission to read the property HTMLDocument.body was refused
(Translated by my self)
This error i got very often, most in start page.

On Chat-Page i got the following error:
Error: unterminated string literal
Sourcefile: http://xxxxxxx.de/site/index.php?page=members&type=view&id=4
Line: 1, column: 67
Sourcetext:
Javascript: if (window.activateTooltip) activateTooltip(this,event,'das bin ich!
(translated by my self)
the text "das bin ich!" i typed in the profile field "About me".

I tried to delete the field, but IM dont work…

In IE i got the following error:

Site                                                                                                            Cookies
http://xxxxx.de/themes/MySiteName_de/images_custom/-logo.png               denied
http://xxxxx.de/themes/default/images/underline.gif                                         denied
http://xxxxx.de/themes/default/images/edited.png                                            denied
http://xxxxx.de/themes/default/images/menus/menu_bullet_hover.png               denied

i tried to set the permissions in ftp-client for the files to 777
but i got the error anyway


Last edit: by Me2006
Back to the top
 
Posted
Rating:
#27865
Avatar

The permission to read the property HTMLDocument.body was refused

This could be caused by an incorrect base URL. We've observed that some webhosts redirect "www.example.com" to "example.com" in a way that breaks Javascript security (Javascript doesn't work properly when working between two different domain names, even if they are very similar). I believe you need to work out which domain is the best domain for your webhosting and use that as the base URL – also always use that domain for accessing the site.

You can ignore those cookie things – they're not important.

The tooltip error was a small bug in ocPortal, but it happened on the profile-view page rather than the IM page:
ocPortal &ndash; Entry: Bug on profile-view page


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: