Author Topic: strange error, on a fresh install.  (Read 4261 times)

Offline Zenin

strange error, on a fresh install.
« on: August 11, 2007, 03:50:16 am »
i get this error when i click buy stuff.

Code: [Select]
Fatal error: Shop() [function.require]: Failed opening required 'Shop-Buy.php' (include_path='.:') in /var/www/vhosts/psp-customs.com/httpdocs/forum/Sources/shop/Shop.php on line 136
ive set permissions correctly (777) the path is definatly correct. i cant see anything in the shop.php file that leads me to belive the php is wrong. so im totaly confused.

some help plz. thanks in advance.


Offline Daniel15

Re: strange error, on a fresh install.
« Reply #1 on: August 11, 2007, 10:59:16 am »
Does the Shop-Buy.php file actually exist? It should be at httpdocs/forum/Sources/shop/Shop-Buy.php.
Does everything else in the shop work?

Offline Zenin

Re: strange error, on a fresh install.
« Reply #2 on: August 11, 2007, 09:36:00 pm »
Does the Shop-Buy.php file actually exist? It should be at httpdocs/forum/Sources/shop/Shop-Buy.php.
Does everything else in the shop work?

yep the file exists, its been chmoded to 777, and the shop.php hasnt been changed in any way.
i can see the first opening page of the shop where i see the menu on the left, buy stuff view inventory. but all the menu items dont work i get the a similar error for each one.
« Last Edit: August 11, 2007, 09:37:49 pm by Zenin »

Offline Dark_Zero

Re: strange error, on a fresh install.
« Reply #3 on: August 12, 2007, 11:35:10 am »
zenin if i may suggest just totally do a fresh install of shop. if that doesn't work then you know that the php isn't messed up. (unless if you get install errors or uninstall errors)
if it still doesn't work there may be problems w/ your host. ask them for support if ^^ doesn't work.

and yeah guys i've been registered on his forum for a while and i'm getting the same error as a member too, any link you click while you're in the shop gets a similar error on a line close to the other lines stated in the errors. so if you can help in any way please do O0

i noticed that these errors first occurred when zenin switched hosts for his site.

Offline Zenin

Re: strange error, on a fresh install.
« Reply #4 on: August 12, 2007, 11:57:54 am »
thanks dark zero i fink ill try a fresh install again, like i said this is a fresh install, but anohter cant hurt :)
it was a host problem to begin with the shop files were not chmoded there were locked or sumfin and i cudnt do it from ftp applications, but now this has been fixed and permissions are all correct.


Offline Dark_Zero

Re: strange error, on a fresh install.
« Reply #5 on: August 12, 2007, 02:50:19 pm »
oh ok, good i hope the fresh install works! and double triple check your permissions after that O0
so yeah if nothing works maybe you should resort to contacting your host (absolute LAST resort lol) or maybe, idk, something w/ the host conflicts w/ the smf shop mod. but your last host had no problems, did it not?

Offline Zenin

Re: strange error, on a fresh install.
« Reply #6 on: August 13, 2007, 07:06:19 am »
oh ok, good i hope the fresh install works! and double triple check your permissions after that O0
so yeah if nothing works maybe you should resort to contacting your host (absolute LAST resort lol) or maybe, idk, something w/ the host conflicts w/ the smf shop mod. but your last host had no problems, did it not?

well i chat to my host alot on msn, we looked for the problem for a long time and didnt find the solution he doesnt know what else to do so its up to me. :D

Offline Dark_Zero

Re: strange error, on a fresh install.
« Reply #7 on: August 13, 2007, 09:09:06 am »
oh well man... i see you've reinstalled it already and still nothing? idk why it doesn't work... is the server on linux/unix? i've heard on windows servers it doesn't chmod at all...

Offline Daniel15

Re: strange error, on a fresh install.
« Reply #8 on: August 18, 2007, 01:10:59 pm »
Oh, another thing... Make sure $boarddir and $sourcedir are set correctly in Settings.php. If you like, use the repair_settings.php tool to check them (you may find this on the SMF tools download page).

Offline Dark_Zero

Re: strange error, on a fresh install.
« Reply #9 on: August 19, 2007, 03:36:38 pm »
yeah thats a useful tool smf's got there
but i hear zenin wants to change hosts again.