vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Possible bug? Error installing some games (Wont load, save scores, etc) (https://vborg.vbsupport.ru/showthread.php?t=150996)

<MG>CP 06-30-2007 01:42 AM

Possible bug? Error installing some games (Wont load, save scores, etc)
 
Getting a couple errors maybe someone can identify. Here comes the story...

When adding a game i get these type of errors:

Warning: fopen(nameofgame.php) [function.fopen]: failed to open stream: Permission denied in /arcade/functions/tar.php on line 394

Warning: require() [function.require]: Unable to access /home/websitepath/public_html/forums/arcade/tmp/gamename.php in /admincp/arcade.php on line 2862

I was hoping a simple permission error, but folders are properly Chmoded for /arcade and subdirectories. Many games actually DO install, but many also installed, yet fail to run. Files appear to all be correct size. Safe mode is on and is something we need on.

Finally, ran this past our PHP guy, who is much smarter then me on this stuff and wanted to pass on his thoughts to the coders of this mod:

Quote:

Look like that the script is trying to unpack tar.gz archives and fails due limited permissions. I assume that this plug-in is not fully compatible with PHP safe mode.

PHP is more strict in this mode and allows only to access files within the majorgeeks directory and owned by that user. It looks like that the script is using full paths (/home/user/public_html...) instead of a local path (example: ./arcade/tmp/). This may conflict with the safe mode concept after the full path is technically outside of the majorgeeks site directory.
Is this a known issue with safe mode, otherwise, any idea how I can fix this?

<MG>CP 07-18-2007 01:10 PM

Installed new version today, same errors. Considering removal and reinstall. Anyone have an idea on this?

MrZeropage 07-18-2007 01:53 PM

permission problem, check server-config ...

<MG>CP 07-19-2007 01:01 AM

Server config? Can you narrow it down? This is multiple errors.


All times are GMT. The time now is 04:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01047 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete