PDA

View Full Version : Blank Articles.php


InDepthArts
02-17-2005, 06:35 PM
Hey Cinq,

I am really looking forward to trying out your mod! I installed it per the instructions but whenever I bring up the articles.php page it is nothing but a blank screen. I am sure I did something wrong but I am not sure what. Any help would be greatly appreciated.

Eric

http://host74.hrwebservices.net/~indepth/articles.php

Zachery
02-17-2005, 06:36 PM
Hey Cinq,

I am really looking forward to trying out your mod! I installed it per the instructions but whenever I bring up the articles.php page it is nothing but a blank screen. I am sure I did something wrong but I am not sure what. Any help would be greatly appreciated.

Eric

http://host74.hrwebservices.net/~indepth/articles.php
Did you run the installer?

InDepthArts
02-17-2005, 06:40 PM
Yes, should I reupload the files, drop the tables from my db and try again?

Marco van Herwaarden
02-17-2005, 07:01 PM
Blank screen most of the times are a sign of a missing template. Are you using more then 1 style? If yes, try using the default style.

WhSox21
02-17-2005, 07:21 PM
Yes, that's very much the cause of this. He has the templates installed on the default template but not on the rest.

InDepthArts
02-17-2005, 07:36 PM
Ok, you will have to bear with me since I am a vbulletin newbie. What exactly do I need to do?

cinq
02-17-2005, 11:06 PM
Hmm yes, it only installs on the default styleid.
You will need to add the templates in for the other styles as well ( which could be tedious since there are many templates and you look to have many styles ).

Let me see if I can write a template installer for you, could you drop me a PM with the style IDs you have ? ( Admincp -> Styles and Templates -> Style Manager , for each of the style, hover your cursor over the style link, there should appear in your status bar the URL with a &styleid=x where x is the value I am asking for )

InDepthArts
02-17-2005, 11:43 PM
Thanks Cinq, PM sent.

AuroraMike
02-18-2005, 12:54 AM
InDepthArts - this isn't too hard to fix actually in lieu of cinq writing an installer for you. in the install_vbarticles.php file, there is a line that says $styleid=[something];
Just change the part after the = to the # of your style, reupload the installer, run it ONLY to the part where it installs the templates and then exit out of the web browser. I just did the exact same thing yesterday but thankfully I remember that little trick from a few other hacks. You can get the styleid from your admin CP. If you open up the styles and templates and just hover your mouse over the template name, you'll see the styleid # on the status bar (assuming you're using IE) on the lower left corner. Just plug that # into the installer, upload, run, click to the template install (one click I think), exit, rinse and repeat for your other templates.

cinq
02-18-2005, 05:44 AM
Yep, that would do it.
InDepthArts, if you don't understand how to do it after reading through AuroraMike's explanation, let me know and I will send you what you need to get this going on your other styles. :)

InDepthArts
02-18-2005, 12:20 PM
Mike, That worked! I am in business now, the only issue I see is that when I use the default template one of the tables turned black. No matter though as I dont plan on making the default template available.

Cinq, Once I get my articles ported over to the new system you can use my site as a demo site since it should be a good example of a large installation of vbarticles because I will end up with about 280 reviews. If all goes well I will make sure to donate to your further development of the software.

Thanks again guys,

Eric

cinq
02-18-2005, 01:01 PM
the only issue I see is that when I use the default template one of the tables turned black. No matter though as I dont plan on making the default template available.
It could be a case of me missing an

class="alt1"

in one of the td tags.
In any case, v2.0 ( which is coming very soon ) should correct it, since all templates created will be new ones, so I'd suggest do not customize the templates too much at this point. Wait for the upgrade :)


Once I get my articles ported over to the new system you can use my site as a demo site since it should be a good example of a large installation of vbarticles because I will end up with about 280 reviews.
Sure thing, just let me know :)


If all goes well I will make sure to donate to your further development of the software.
Would be much appreciated, thanks :)

InDepthArts
02-18-2005, 01:03 PM
On what I am sure is a related note, I am not getting all of the last six options on the Articles Management screen, you know the ones that show what paths to use for images? Any ideas? I did, yesterday, try rolling back the changes to the database so that I can re-install from scratch... is there a missing field now that is causing not all of the options to show?

I feel like a dumbass!

cinq
02-18-2005, 01:08 PM
When you say you are not getting the last 6 options, do you mean their description and titles are not viewable ( but you can see 6 rows there ), or you aren't even seeing the empty rows ?

Screenshot if possible would be good

InDepthArts
02-18-2005, 01:17 PM
I'm not getting anything:

cinq
02-18-2005, 01:21 PM
What did you do when you 'rolled back' the first install ?
Manually remove all the phrases, templates, setting additions, tables etc ?

If the 2nd reinstall went smoothly, and all the settings are added correctly, you shouldn't face this problem.
Do a check in your phrases for setting_vbartartimgpath_title, does anything turn up ?

InDepthArts
02-18-2005, 01:25 PM
I do see that phrase in my list. Pretty much all I did was try to drop the tables and remove a few values from the DB... is there a tool that will roll back the changes to the DB so I can try that part of the install again?

cinq
02-18-2005, 01:28 PM
Check the settings table, you may have duplicates, causing the 'no-show' of some of those settings.

Take a look at the install_vbarticles.php file, the portion which inserts the settings, to see which settings titles you should be looking out for.

InDepthArts
02-18-2005, 02:08 PM
I hate to be a pain but is there a way I can alter the install file to do the opposite in the database? My install is mucked up right now and I would just prefer to start new.

cinq
02-18-2005, 02:32 PM
I'll send something over tmr for you Eric. Drop me a PM with your email contact.

InDepthArts
02-18-2005, 02:37 PM
Thanks Cinq, PM sent, I will try to go through the list manually tonight if I can get some free time.