News:

Wondering if this will always be free?  See why free is better.

Main Menu

Problem with Package Manager.

Started by exner2008, April 21, 2010, 08:02:14 PM

Previous topic - Next topic

exner2008

Hi i just figured i would try SMF 2.0 RC3  , i previously was using 1.11  , so i figured i would upgrade and it went smooth without any errors .  I was wondering if the package manager is working on this version as this seems to be the only problem i,m having to date. I can upload it just fine , and when i try to install  ,

1. Execute Code db_aeva.php 
2. Execute Modification ./index.php Test successful
  1. Add Before ./index.php Test successful

3. Execute Modification ./Sources/Post.php Test successful
  1. Add Before ./Sources/Post.php Test successful
  2. Add After ./Sources/Post.php Test successful
  3. Replace ./Sources/Post.php Test successful
  4. Replace ./Sources/Post.php Test successful

4. Execute Modification ./Sources/Subs.php Test successful
  1. Add Before ./Sources/Subs.php Test successful
  2. Add After ./Sources/Subs.php Test successful

5. Execute Modification ./Sources/Who.php Test successful
  1. Add Before ./Sources/Who.php Test successful
  2. Add Before ./Sources/Who.php Test successful

6. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
  1. Add Before ./Themes/default/languages/Modifications.english.php Test successful

7. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
8. Execute Modification ./Themes/default/languages/Modifications.french.php Test successful
  1. Add Before ./Themes/default/languages/Modifications.french.php Test successful

9. Execute Modification ./Themes/default/languages/Modifications.french-utf8.php Skipping file
10. Execute Modification ./Sources/Subs.php Test successful
  1. Add Before ./Sources/Subs.php Test successful
  2. Add Before ./Sources/Subs.php Test successful
  3. Add Before ./Sources/Subs.php Test successful

11. Execute Modification ./Sources/Admin.php Test successful
  1. Add Before ./Sources/Admin.php Test successful

12. Execute Modification ./Sources/Load.php Test successful
  1. Replace ./Sources/Load.php Test successful
  2. Replace ./Sources/Load.php Test successful
  3. Add After ./Sources/Load.php Test successful
  4. Add Before ./Sources/Load.php Test successful
  5. Add After ./Sources/Load.php Test successful

13. Execute Modification ./Sources/ManagePermissions.php Test successful
  1. Add After ./Sources/ManagePermissions.php Test successful
  2. Add After ./Sources/ManagePermissions.php Test successful
  3. Add After ./Sources/ManagePermissions.php Test successful

14. Execute Modification ./Sources/Profile.php Test successful
  1. Add After ./Sources/Profile.php Test successful

15. Extract Tree ./Sources 
16. Extract Tree ./Themes 
17. Extract Tree ./mgal_data 
18. Extract File ./MGalleryItem.php 
19. Extract File ./expressInstall.swf 
   
So after i get this message and click install, I get redirected to a blank explorer page. The mod does not install or make any changes.I know the mods are compatible kinda weird. I am using the default theme. Any Ideas?. Thanks in Advance, Could this be a redirect problem?.
No Question is a Dumb Question , Unless You Know The Answer .

TheListener

What is it you are tring to install?

The files which state Test Failed all require a manual edit.


smp420

Are there any errors in the error log? What other mods do you have installed if any?
"Things turn out best for those who make the best of the way things turn out." -Jack Buck

exner2008

Thanks  for your reply , no i am not getting any errors ,  and i hav,nt installed any mods on this new install .
No Question is a Dumb Question , Unless You Know The Answer .

smp420

Just to make sure you checked the smf error log and it was empty, correct? Try the server error logs.
"Things turn out best for those who make the best of the way things turn out." -Jack Buck

exner2008

Yes it seems i do have an error now , its listed as , 

http://prairiewind.hostei.com/forum/index.php?action=admin;area=packages;sa=install;package=Aeva-Media-1.1b.zip8: Undefined variable: c_actionFile: /usr/lib/php/foot.php
Line: 10
No Question is a Dumb Question , Unless You Know The Answer .

smp420

So what happems if you try a different mod.
"Things turn out best for those who make the best of the way things turn out." -Jack Buck

exner2008

Just tried the add management mod for SMF 2.0 RC3 , and the same thing happens , i get page cannot be found , check connection. I chmoded my packages/temp/ folder but no luck with that either . I am seeing some files in the temp folder though ,  not really sure whats going on with this  lol . Aprreciate the help though .  ;D

No Question is a Dumb Question , Unless You Know The Answer .

smp420

Well I would try grabbing a large upgrade and upload all the files overwriting what is already there and then delete upgrade.php if that doesn't help I think you should let your host know about this error.
"Things turn out best for those who make the best of the way things turn out." -Jack Buck

exner2008

Well i tried the large upgrade file again and still no luck . Is there supposed to be a temp file in packages directory , because i do have one , i tried deleteing it  but  permissions would,nt let me . I was going to upload a new one .  Nor could i chmod that temp derectory  .
No Question is a Dumb Question , Unless You Know The Answer .

smp420

Try renaming the temp folder and see if that helps.
"Things turn out best for those who make the best of the way things turn out." -Jack Buck

exner2008

So i renamed the temp file inside packages , and uploaded a new one and chmoded to 775 , but when i click the install button at the bottom of the  testing successful page , it takes me to a explorer page saying ,
Internet Explorer cannot display the webpage
   
   What you can try:
    Diagnose Connection Problems 

     More information

Im going to figure this out yet , I just submitted a ticket to my server (000webhost) , tomake them aware of the error i was getting , as mentioned above . When i clicked on the link in the forum error log , it gave me a little more info on this error , it looks something like this ;


8: <!-- www.000webhost.com Analytics Code -->
9: <script type="text/javascript" src="http://analytics.hosting24.com/count.php<?php echo $c_action; ?>"></script>
==>10: <noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php<?php echo $c_action; ?>" alt="web hosting" /></a></noscript>
11: <!-- End Of Analytics Code -->
Line 8, 9, 10, 11  all give me random errors . Do you think this could be the source of my install problems?.
No Question is a Dumb Question , Unless You Know The Answer .

smp420

That seems like it might be a script used by your host that is casing the problems let us know what they say.
"Things turn out best for those who make the best of the way things turn out." -Jack Buck

exner2008

Well my host got back to me and this is what they tell me ,

Hello,

Analytics code can be easily disabled at http://members.000webhost.com/analytics.php

If you see message that code was disabled but it still appears on your site, it might be your site uses GZIP compression. Please try turning it off and disabling code again.

Many Thanks,
Helpdesk Staff
www.000webhost.com

Well i visited their link and disabled their code but still get the error message . Does smf use g-zip compression and if so , how do i turn it off , or what would the result be?.
No Question is a Dumb Question , Unless You Know The Answer .

exner2008

Ok soooo, i disabled the zip function , disabled Analytics code , and tried a different package install , but still a no go ,  again get redirected to a explorer page , saying  Internet Explorer cannot display the webpage ,  with no errors in error log. Tried it a couple times to make sure . Now i dont know really what to try , manual install i guess . Weird why it takes me to a page that explorer cannot find . Any help here would be appreciated .
   
No Question is a Dumb Question , Unless You Know The Answer .

smp420

This is something you need to take up with your host as it is their script causing the problems.
"Things turn out best for those who make the best of the way things turn out." -Jack Buck

exner2008

Well i finnally got rid of the anylitics code from my server did a rollback to 1.1.11 ,  and upgraded again , i am getting close here ,  now when i go to install packages i get this error ,

http://prairiewind.hostei.com/forum/index.php?action=admin;area=packages;sa=install;package=twitter.and.facebook.publisher.mod.2.4.smf.1.1.x-2.x.zip8: Undefined index: destinationFile: /home/a8036588/public_html/forum/Sources/Packages.php
Line: 675

and when i click on the link it shows me ,

628:          else
629:             $path = '';
630: 
631:          if (!empty($matches[3]))
632:             $path .= $matches[3];
633: 
634:          if (!$context['uninstalling'])
635:             $path .= '/' . basename($action_data['filename']);
636: 
637:          // Loop through each custom theme to note it's candidacy!
638:          foreach ($theme_paths as $id => $theme_data)
639:          {
640:             if (isset($theme_data['theme_dir']) && $id != 1)
641:             {
642:                // Confirm that we don't already have this dealt with by another entry.
643:                if (!in_array(strtolower(strtr($theme_data['theme_dir'] . $path, array('\\' => '/'))), $themeFinds['other_themes']))
644:                {
645:                   // Check if we will need to chmod this.
646:                   if (!mktree(dirname($theme_data['theme_dir'] . $path), false))
647:                   {
==>648:                      $temp = dirname($action_data['destination']);
649:                      while (!file_exists($temp) && strlen($temp) > 1)
650:                         $temp = dirname($temp);
651:                      $chmod_files[] = $temp;
652:                   }
653:                   if ($action_data['type'] == 'require-dir' && !is_writable($theme_data['theme_dir'] . $path) && (file_exists($theme_data['theme_dir'] . $path) || !is_writable(dirname($theme_data['theme_dir'] . $path))))
654:                      $chmod_files[] = $theme_data['theme_dir'] . $path;
655: 
656:                   if (!isset($context['theme_actions'][$id]))
657:                      $context['theme_actions'][$id] = array(
658:                         'name' => $theme_data['name'],
659:                         'actions' => array(),
660:                      );
661: 
662:                   if ($context['uninstalling'])
663:                      $context['theme_actions'][$id]['actions'][] = array(
664:                         'type' => $txt['package_delete'] . ' ' . ($action_data['type'] == 'require-dir' ? $txt['package_tree'] : $txt['package_file']),
665:                         'action' => strtr($theme_data['theme_dir'] . $path, array('\\' => '/', $boarddir => '.')),
666:                         'description' => '',
667:                         'value' => base64_encode(serialize(array('type' => $action_data['type'], 'orig' => $action_data['filename'], 'future' => $theme_data['theme_dir'] . $path, 'id' => $id))),
668:                         'not_mod' => true,

Unidentified index destination?. Any Ideas , Its the only error i get .
No Question is a Dumb Question , Unless You Know The Answer .

CapadY

Try the search option in this support forum and seach for:  www.000webhost.com

They have all the same problem with packages install.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

exner2008

thanks for your reply , i was having trouble with the 000webhost anylitics code , but that problem has been resolved . Now i am just getting a different error as mentioned above . Don,nt think its on the server side .
No Question is a Dumb Question , Unless You Know The Answer .

Advertisement: