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.


New Install Probs

Login / Search

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

Well-settled

I've just installed OCP version 3.0.9 after using 2.1.6 for some time, and I'm having a few problems setting some stuff up. My gallery for instance, I thought I'd try importing a zip file instead of the tedious procedure of adding the pictures one at a time. Unfortunately when I try to upload the file, I get this error:

PHP WARNING [2] mkdir() [<a href='function.mkdir'>function.mkdir</a>]: SAFE MODE Restriction in effect. The script whose uid is 505 is not allowed to access /tmp owned by uid 0 (ocPortal version: 3.0.9, PHP version: 4.4.4, URL: /cms/index.php?page=cms_galleries&type=__gimp&cat=lanotd&upl
oading=1)


[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#28181
Avatar

This was corrected in 3.1.0.


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:
#28189
Avatar

Well-settled

Could you please direct me to the update to 3.1.0

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#28191
Avatar


Back to the top
 
Posted
Rating:
#28194
Avatar

The upgrader is linked to from the news announcing the new version. If you go to our front page and expand the news block on the left, you'll see the news post.


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:
#28207
Avatar

Well-settled

Upgraded to 3.1.0, tried to upload and still got the error:
PHP WARNING [2] mkdir() [<a href='function.mkdir'>function.mkdir</a>]: SAFE MODE Restriction in effect. The script whose uid is 505 is not allowed to access /tmp owned by uid 0 (ocPortal version: 3.1.0, PHP version: 4.4.4, URL: /cms/index.php?page=cms_galleries&type=__gimp&cat=lanotd&upl
oading=1)


[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#28208
Avatar

Well-settled

I think I may have found the prob. Was looking through the admin settings and found "unzip directory". I assume the gallery upload uses this? I probably don't have permission to write to this folder, a bit of a drawback that the script assumes I have permission outside my root folder.

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#28210
Avatar

There's an option to change the extraction path in the site configuration (site configuration, archives).


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:
#28234
Avatar

Well-settled

I got the server admin to make me a folder and changed the path. I don't get an error anymore, but although the page acts like it's doing something the end product is nothing. No images in the gallery and no files in the gallery folder.

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#28247
Avatar

ocPortal integrates a third-party code library (called 'M-ZIP') for doing unzipping when the PHP installation does not support builtin unzipping. The best thing is for the PHP unzipping extension to be available on your server, because it's a direct interface. The M-ZIP thing has to tie into the unzip program on the server and try and bring it up indirectly, and it looks like something's gone wrong during the process. The first thing to check would be that the unzip command (next to the unzip directory in the configuration) is correct (the path to the unzip program is what is likely to be wrong, rather than the parameters given to it). Unfortunately due to the fragility of the interface between PHP and executed programs, ocPortal isn't able to reliably tell you exactly what error might have happened when executing that file (however the next patch release will say that an error did occur).
So to summarise:
  • preferably get the PHP UNZIP extension installed
  • otherwise check the unzip command is correct
If all else fails, you can use tar files and those should be far more stable because everything to do with them is built right into ocPortal.


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:
#28290
Avatar

Well-settled

The tar files seems the easiest solution, I'll track down something for making them.



On another note, where would the text from the greeting on the front page be stored? I can't remember what I had on my old site, but I'd like to retrieve it for reuse.


[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#28292
Avatar

clawcity said

On another note, where would the text from the greeting on the front page be stored? I can't remember what I had on my old site, but I'd like to retrieve it for reuse.

See the WELCOME and WELCOME_BACK language strings in global.ini. :)

Back to the top
 
Posted
Rating:
#28425
Avatar

Well-settled

Thanks mate. The TAR idea works a charm by the way, though oddly it creates a nice folder for my gallery, and then puts the files OUTSIDE the folder, lol.

Yet another query, my website is for computer gaming LAN events we run. Now I'm aware OC Portal has many features, most of which I am unfamiliar with ;) I'm wondering if any of them would be suitable to adapt for an event registration system. So whenever we run an event, people can visit the site and sign up for a seat at the event. It would also need a function for registration confirmations at a date closer to the event to weed out the people who signed up but changed their mind. Dunno if this is possible but it can't hurt to ask.

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#28426
Avatar

Well-settled

Philip said

See the WELCOME and WELCOME_BACK language strings in global.ini. :)
 Odd, I checked the files from my old site and my text doesn't appear to be there. Just the default text.

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#28427
Avatar

Odd, I checked the files from my old site and my text doesn't appear to be there. Just the default text.

Look in lang_custom/EN rather than lang/EN.

So whenever we run an event, people can visit the site and sign up for a seat at the event.

There's nothing specific for it, but if the event is small enough and you don't mind doing some manual work, it could be done. What I'd do is I'd create a newsletter and tell everyone interested in the event to sign up to that. Then I'd send out a newsletter at some point, asking people to reply with their names if they are still interested. The replies would go to the staff address, and the names and e-mail addresses could be picked out manually pretty easily from those.

and then puts the files OUTSIDE the folder, lol.

Oops. I'll look into that.


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:
#29005
Avatar

Well-settled

The galleries were working like a charm….Unfortunately I have a slow upload speed and when I try to add a larger batch of images it happily chugs away for a while and then reports that I didn't give it a file name or some such thing. I'm guessing it's timing out, is there a way to fix this?


[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#29006
Avatar

Honoured member

 

clawcity said

 I'm wondering if any of them would be suitable to adapt for an event registration system. So whenever we run an event, people can visit the site and sign up for a seat at the event.
 
use the catalogue to make a registration form. It has the most things you need for that, eg name, emailadress etc.

:D  Dont shoot the messenger!!  :D

How many of you believe in telekinesis? Raise my hand.

Chris Graham said

I guess a warning in your line of work tends tomean 'run for cover'. Fortunately it's not so severe when it comes to computers ;).
Back to the top
 
Posted
Rating:
#29018
Avatar

The galleries were working like a charm….Unfortunately I have a slow upload speed and when I try to add a larger batch of images it happily chugs away for a while and then reports that I didn't give it a file name or some such thing. I'm guessing it's timing out, is there a way to fix this?

Nothing jumps to mind when I think about batch upload and filenames at the same time. I might be able to help if I had an exact error message.


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:
#29156
Avatar

Well-settled

I tried again, the error message is "A critical parameter, file, was missing"

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#29182
Avatar

Ah. The maximum file size is being exceeded. Normally ocPortal would give a more user-friendly warning about this, but circumstances here don't lead to that.
I'll make the error more user-friendly in the next patch release, and I'll get the maximum file size printed out onto the upload form.

The file size limit is usually limited by PHP, as webhosts have it set very low very often (the PHP distribution's default is very low). Try renaming recommended.htaccess to .htaccess, as this file attempts to raise the limit; it doesn't work on all servers however.


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
 
There are too many online users to list.
Control functions:

Quick reply   Expand