vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   uCash & uShop old support and thank you thread (https://vborg.vbsupport.ru/showthread.php?t=73736)

BarHopper 04-12-2004 10:50 PM

I think i've got everything working, except for the shop. No actions found.

BarHopper 04-12-2004 10:55 PM

I still get No actions found.

Link14716 04-12-2004 10:56 PM

Quote:

Originally Posted by BarHopper
I still get No actions found.

The data is there, BarHopper. Do you have any additional usergroups you added?

BarHopper 04-12-2004 10:58 PM

Quote:

Originally Posted by Link14716
The data is there, BarHopper. Do you have any additional usergroups you added?

No

Link14716 04-12-2004 10:59 PM

Quote:

Originally Posted by BarHopper
No

Do the actions appear in the admincp?

BarHopper 04-12-2004 11:00 PM

Quote:

Originally Posted by Link14716
Do the actions appear in the admincp?

Yes. I'll give you login and stuff if you want. Maybe easier, i dont know

Link14716 04-12-2004 11:01 PM

Quote:

Originally Posted by BarHopper
Yes. I'll give you login and stuff if you want. Maybe easier, i dont know

Ok. Discuss this with me over AIM or MSN or something.

lasto 04-12-2004 11:05 PM

dont get this - is these problems to do with the HTL version cause ive just installed the normal version and after fixing an error on my part everything seems to be working fine.

Username colors change - bank works fine / italic works fine thief works fine.

Edit

In admincp make sure u go to the setting look at each page and even if u dont change anything click on SAVE.

There is 4 pages to do - just incase this may be a problem for some.

AN-net 04-12-2004 11:06 PM

1 Attachment(s)
Hi well, since Zachery and links were rushed so much, they forgot to do the edits for WOL(Whos Online). Well i took the liberty of doing it since they seem swamped with errors and since this hack has so much potential. Follow the instructs attached and you should be ok. Also i have included formatting for WOL(Whos Online) for future items, just incase you add any of your own. Any questions on formatting or problems please feel free to pm me.

Attached items(1):
-instructions_wol_forushop.txt

mantra 04-12-2004 11:07 PM

anyone getting this error
Warning: Invalid argument supplied for foreach() in /home/desispac/public_html/forums/global.php on line 631

Link14716 04-12-2004 11:13 PM

Quote:

Originally Posted by mantra
anyone getting this error
Warning: Invalid argument supplied for foreach() in /home/desispac/public_html/forums/global.php on line 631

Search the thread, it's everywhere.

AN-net 04-12-2004 11:14 PM

Quote:

Originally Posted by mantra
anyone getting this error
Warning: Invalid argument supplied for foreach() in /home/desispac/public_html/forums/global.php on line 631

that means you did not correctly do edits in your global.php file:)

James Collins 04-12-2004 11:16 PM

Quote:

Originally Posted by mantra
anyone getting this error
Warning: Invalid argument supplied for foreach() in /home/desispac/public_html/forums/global.php on line 631

Getting mine on 23

Did you run the standalone or HTL installer? - Standalone

What is the exact error you recieve? - Parse error: parse error, expecting `')'' in /homepages/40/d95940999/htdocs/forums/includes/init.php on line 507

Warning: Invalid argument supplied for foreach() in /homepages/40/d95940999/htdocs/forums/global.php on line 23
Parsing functions.php Time before: 1081815461.8248 Time after: 1081815461.8401 Time taken: 0.015268087387085

Where does the supposed error happen? - all pages

What vB version are you running? - vBulletin Version 3.0.0

mantra 04-12-2004 11:16 PM

what about the postbit part ? .. i don't know what postbit refers to... do i need to do that?

Link14716 04-12-2004 11:16 PM

Quote:

Originally Posted by mantra
what about the postbit part ? .. i don't know what postbit refers to... do i need to do that?

It's a temp[lates - check the style manager.

Link14716 04-12-2004 11:17 PM

Quote:

Originally Posted by James Collins
Getting mine on 23

Installer - YES
HTL - NO
VB Version 3 GOLD

I said paste the full error.

James Collins 04-12-2004 11:18 PM

sorry your right

Just edited the post :)

Getting mine on 23

Did you run the standalone or HTL installer? - Standalone

What is the exact error you recieve? - Parse error: parse error, expecting `')'' in /homepages/40/d95940999/htdocs/forums/includes/init.php on line 507

Warning: Invalid argument supplied for foreach() in /homepages/40/d95940999/htdocs/forums/global.php on line 23
Parsing functions.php Time before: 1081815461.8248 Time after: 1081815461.8401 Time taken: 0.015268087387085

Where does the supposed error happen? - all pages

What vB version are you running? - vBulletin Version 3.0.0

Link14716 04-12-2004 11:18 PM

EVERYONE WITH FOREACH ERRORS IN GLOBAL.PHP OR NO ACTIONS FOUND (part 2):

After taking out the second global.php edit and running ushop.php?rebuildds=1, put the second edit back in and see if it makes any difference.

mantra 04-12-2004 11:19 PM

hmm.. still getting error .. anyone ????

Link14716 04-12-2004 11:20 PM

Quote:

Originally Posted by James Collins
Getting mine on 23

Did you run the standalone or HTL installer? - Standalone

What is the exact error you recieve? - Parse error: parse error, expecting `')'' in /homepages/40/d95940999/htdocs/forums/includes/init.php on line 507

Warning: Invalid argument supplied for foreach() in /homepages/40/d95940999/htdocs/forums/global.php on line 23
Parsing functions.php Time before: 1081815461.8248 Time after: 1081815461.8401 Time taken: 0.015268087387085

Where does the supposed error happen? - all pages

What vB version are you running? - vBulletin Version 3.0.0

That's an init.php error causing everything else. Past 5 lines above and 5 lines below the line that contains the error (and the error line itself). And by that I mean line 507 in init.php.

Link14716 04-12-2004 11:21 PM

Quote:

Originally Posted by mantra
hmm.. still getting error .. anyone ????

Read one post above yours.

James Collins 04-12-2004 11:22 PM

When I do as you request (posted above)

I am just left with "Parse error: parse error, expecting `')'' in /homepages/40/d95940999/htdocs/forums/includes/init.php on line 507
Parsing functions.php Time before: 1081815724.7655 Time after: 1081815724.7806 Time taken: 0.015094041824341
--------------------------------------------------------------------------------
Processing sessions.php Time before: 1081815724.781 "

My instructions are above this post about what I used etc

poetic 04-12-2004 11:23 PM

Quote:

Originally Posted by Link14716
EVERYONE WITH FOREACH ERRORS IN GLOBAL.PHP OR NO ACTIONS FOUND (part 2):

After taking out the second global.php edit and running ushop.php?rebuildds=1, put the second edit back in and see if it makes any difference.


I did this before you said that, and was going to post the result.. amazing!

Zelda-King 04-12-2004 11:24 PM

I see no uttstore.php in the zip file. It seems there needs to be one for the admindonate in the postbit. :/

Link14716 04-12-2004 11:24 PM

Quote:

Originally Posted by James Collins
When I do as you request (posted above)

I am just left with "Parse error: parse error, expecting `')'' in /homepages/40/d95940999/htdocs/forums/includes/init.php on line 507
Parsing functions.php Time before: 1081815724.7655 Time after: 1081815724.7806 Time taken: 0.015094041824341
--------------------------------------------------------------------------------
Processing sessions.php Time before: 1081815724.781 "

My instructions are above this post about what I used etc

https://vborg.vbsupport.ru/showpost....&postcount=142

Link14716 04-12-2004 11:25 PM

Quote:

Originally Posted by Zelda-King
I see no uttstore.php in the zip file. It seems there needs to be one for the admindonate in the postbit. :/

I updated the ZIP a while ago. When did you download it?

Link14716 04-12-2004 11:25 PM

Quote:

Originally Posted by poetic
I did this before you said that, and was going to post the result.. amazing!

The result being?

James Collins 04-12-2004 11:26 PM

Quote:

Originally Posted by Link14716
That's an init.php error causing everything else. Past 5 lines above and 5 lines below the line that contains the error (and the error line itself). And by that I mean line 507 in init.php.

Thanks Link14716

Real new to this though :) So what do I need to do?

:o

Thanks for all your help

(only happens when I add the bit you say)

'stylecache',
'utt_store_act'

delete the 'utt_store_act' and error goes

Mijae 04-12-2004 11:27 PM

Hrm, everything is out of stock...is that normal? How do I fix that?

Also, all the actions are in 4 rows instead of 2 like in the image in the first post.

mantra 04-12-2004 11:27 PM

Quote:

Originally Posted by Link14716
Read one post above yours.

that worked.
now how do i get to the store as a user of my site?
don't see any links .. i must be blind ....

also, what is this postbit stuff ???

Link14716 04-12-2004 11:28 PM

Quote:

Originally Posted by James Collins
Thanks Link14716

Real new to this though :) So what do I need to do?

:o

Thanks for all your help

Open init.php, find line 507. Copy and paste everything starting 5 lines above that line and ending 5 lines below that line and post it.

Link14716 04-12-2004 11:29 PM

Quote:

Originally Posted by mantra
that worked.
now how do i get to the store as a user of my site?
don't see any links .. i must be blind ....

also, what is this postbit stuff ???

I already said that: postbit is a template, you are supposed to edit it in the Style Manager.

Link14716 04-12-2004 11:32 PM

Quote:

Originally Posted by Mijae
Hrm, everything is out of stock...is that normal? How do I fix that?

Also, all the actions are in 4 rows instead of 2 like in the image in the first post.

The amount in a row is a setting - select 'uTT Store Settings' (haven't updated those links). and change it. If it's out of stock, might be a bug in Zachery's template conditional - get some points and see if it goes away.

mantra 04-12-2004 11:33 PM

I don't see this in the postbit file:
<a style="font-size:14pt" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>

anyone ???

i see
<a class

instead of <a style

same thing?

lasto 04-12-2004 11:35 PM

can see u got your hands full Link14716 but ive gone though every option in the store and all works fine.

My install

vb version - vb3 gold
hack Install - Normal (manual file edits then ran the ushop_install.php install proggie)

lasto 04-12-2004 11:35 PM

Quote:

Originally Posted by mantra
I don't see this in the postbit file:
<a style="font-size:14pt" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>

anyone ???


i see
<a class

instead of <a style

same thing?

yep m8 some postbits just change a little - u need to improvise a bit if your code aint the same.

Link14716 04-12-2004 11:36 PM

Quote:

Originally Posted by lasto
yep m8 some postbits just change a little - u need to improvise a bit if your code aint the same.

That edit shouldn't even be there.

James Collins 04-12-2004 11:38 PM

Quote:

Originally Posted by Link14716
Open init.php, find line 507. Copy and paste everything starting 5 lines above that line and ending 5 lines below that line and post it.

'cron',
'forumcache',
'usergroupcache',
'stylecache',
'arcadesettings'
), $specialtemplates);

$datastoretemp = $DB_site->query("
SELECT title, data FROM " . TABLE_PREFIX . "datastore
WHERE title IN ('" . implode("', '", $specialtemplates) . "')
");

hope thats right - probably have done something else wrong after you get this working :)

lasto 04-12-2004 11:39 PM

sorry link14716 its there in mine as well <a class on default style as well but i just went past it and code worked fine.

Mijae 04-12-2004 11:41 PM

I am not getting any points! Doesnt matter what I do, I get 0 points.


All times are GMT. The time now is 11:33 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.02624 seconds
  • Memory Usage 1,834KB
  • 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
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete