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.


Another Install failure between step 4 and 5 ?

Login / Search

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

Community saint

But not the Database one !!!

Having sucessfully installed OCP on my main host (Fasthosts), I decided to try and get ocp to install on my secondary host (Heart Internet) Do I regret that now !!

After sorting out the Database problems that seem to cause many failures, and repeatedly trying I'm about to give up.  It just keeps failing. I suspect a time out problem, using FTP, I can see that it appears to be creating a good proportion of the file stucture but not all of it. Any ideas??

Here's the error I'm getting…

PHP [2] ftp_put() [<a href='function.ftp-put'>function.ftp-put</a>]: PORT command successful

Here is the stack trace:


File
'/home/sites/gphosting.co.uk/public_html/install.php(7661) : eval()\'d code'
Line
130
Function
'get_html_trace'
Args
 


File
'/home/sites/gphosting.co.uk/public_html/install.php(7661) : eval()\'d code'
Line
182
Function
'clean_exit'
Args
'PHP [2] ftp_put() [<a href=\'function.ftp-put\'>function.ftp-put</a>]: PORT command successful'


Function
'ocportal_error_handler'
Args
2

'ftp_put() [<a href=\'function.ftp-put\'>function.ftp-put</a>]: PORT command successful'

'/home/sites/gphosting.co.uk/public_html/install.php'

6998

array ( 'FILE_ARRAY' => array ( 0 => 'adminzone/index.php', 1 => 'adminzone/logowizard.php', 2 => 'adminzone/pages/.htaccess', 3 => 'adminzone/pages/comcode/.htaccess', 4 => 'adminzone/pages/comcode/EN/.htaccess', 5 => 'adminzone/pages/comcode/EN/index.html', 6 =>

REMOVED TO SAVE SPACE


'uploads/ocf_photos/index.html', 2885 => 'uploads/ocf_photos_thumbs/index.html', 2886 => 'uploads/watermarks/index.html', 2887 => 'validateip.php', ), 'DIR_ARRAY' => array ( 0 => 'adminzone', 1 => 'adminzone/pages', 2 => 'adminzone/pages/comcode', 3 => 'adminzone/pages/comcode/EN', 4 => 'adminzone/pages/comcode_custom', 5 => 'adminzone/pages/comcode_custom/EN', 6 => 'adminzone/pages/html', 7 => 'adminzone/pages/html/EN', 8 =>

REMOVED TO SAVE SPACE


'uploads/galleries_thumbs', 276 => 'uploads/grepimages', 277 => 'uploads/iotds', 278 => 'uploads/iotds_thumbs', 279 => 'uploads/ocf_avatars', 280 => 'uploads/ocf_photos', 281 => 'uploads/ocf_photos_thumbs', 282 => 'uploads/watermarks', 283 => 'uploads/website_specific', ), 'conn' => NULL, 'ssl' => true, 'username' => 'gphosting.co.uk', 'password' => 'loadportal', 'files' => array ( 0 => 'install.php', 1 => 'data.ocp', ), 'overwrite_ok' => false, 'langs1' => array ( 'EN' => 'lang', '.htaccess' => 'lang', 'index.html' => 'lang', 'langs.ini' => 'lang', 'map.ini' => 'lang', ), 'langs2' => array ( 'EN' => 'lang_custom', '.htaccess' => 'lang_custom', 'index.html' => 'lang_custom', ), 'langs' => array ( 'EN' => 'lang_custom', '.htaccess' => 'lang_custom', 'index.html' => 'lang_custom', 'langs.ini' => 'lang', 'map.ini' => 'lang', ), 'dir' => 'uploads/website_specific', 'lang' => 'map.ini', 'count' => 2888, 'php_perms' => 33188, 'start_pos' => 0, 'done_all' => false, 'time_start' => 1197212221, 'max_time' => 120, 'max' => 1000, 'i' => 7, 'contents' => 'This is a guide to using Occle - your interactive ocPortal command-line. To begin with…', 'filename' => 'adminzone/pages/comcode/EN/occleguide.txt', 'tmp' => NULL, )


File
'/home/sites/gphosting.co.uk/public_html/install.php'
Line
6998
Function
'ftp_put'
Args
NULL

'adminzone/pages/comcode/EN/occleguide.txt'

'tmp/tmp'

2


File
'/home/sites/gphosting.co.uk/public_html/install.php'
Line
6849
Function
'step_5_ftp'
Args
 


File
'/home/sites/gphosting.co.uk/public_html/install.php'
Line
6259
Function
'step_5'
Args
 




Back to the top
 
Posted
Rating:
#36964
Avatar

Somehow FTP is failing, but PHP is misreporting the problem; probably somewhere between the version of PHP on the server, and the FTP software on the server, there's an incompatibility.  You could check that you're details are right, but you may need to use the manual installer instead.


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:
#36969

Non-joined user

I'll try the manual version.
Fingers crossed :-)
Back to the top
 
Posted
Rating:
#36977

Non-joined user

Getting a bit further this time

PHP [2] file_get_contents(/home/sites/gphosting.co.uk/public_html/ad
minzone/pages/modules/admin_version.php) [<a href='function.file-get-contents'>function.file-get-contents
</a>]: failed to open stream: No such file or directory

Here is the stack trace:

File '/home/sites/gphosting.co.uk/public_html/sources/minikernel.
php'
Line 130
Function 'get_html_trace'
Args



File '/home/sites/gphosting.co.uk/public_html/sources/minikernel.
php'
Line 182
Function 'clean_exit'
Args 'PHP [2] file_get_contents(/home/sites/gphosting.co.uk/public_html/ad
minzone/pages/modules/admin_version.php) [<a href=\'function.file-get-contents\'>function.file-get-conten
ts</a>]: failed to open stream: No such file or directory'



Function 'ocportal_error_handler'
Args 2

'file_get_contents(/home/sites/gphosting.co.uk/public_html/a
dminzone/pages/modules/admin_version.php) [<a href=\'function.file-get-contents\'>function.file-get-conten
ts</a>]: failed to open stream: No such file or directory'

'/home/sites/gphosting.co.uk/public_html/sources/zones.php'

404

array ( 'path' => '/home/sites/gphosting.co.uk/public_html/adminzone/pages/mod
ules/admin_version.php', 'functions' => array ( 0 => 'info', 1 => 'install', 2 => 'uninstall', ), 'params' => NULL, )



File '/home/sites/gphosting.co.uk/public_html/sources/zones.php'
Line 404
Function 'file_get_contents'
Args '/home/sites/gphosting.co.uk/public_html/adminzone/pages/mod
ules/admin_version.php'



File '/home/sites/gphosting.co.uk/public_html/sources/zones.php'
Line 699
Function 'extract_module_functions'
Args '/home/sites/gphosting.co.uk/public_html/adminzone/pages/mod
ules/admin_version.php'

array ( 0 => 'info', 1 => 'install', 2 => 'uninstall', )



File '/home/sites/gphosting.co.uk/public_html/install.php'
Line 1367
Function 'reinstall_module'
Args 'adminzone'

'admin_version'



File '/home/sites/gphosting.co.uk/public_html/install.php'
Line 169
Function 'step_7'
Args



Back to the top
 
Posted
Rating:
#36981
Avatar

Hi,

adminzone/pages/modules/admin_version.php must not have uploaded right.


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:
#36984

Non-joined user

I'll try replacing it, but I'm getting to the point of scrapping the idea.



Back to the top
 
Posted
Rating:
#36985
Avatar

Community saint

Just checked the adminzone/pages/modules/ folder is empty !!!
Gonna have to check the whole site now  :(
Back to the top
 
Posted
Rating:
#37007
Avatar

Community saint

Unzipped it again and manually added each directory and it now works.
Thanks for the help folks :-)
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: