Author Topic: Virtuemart 2.0.1 N and Joomla 2.5.1 config file not found / just white screen  (Read 4871 times)

liv

  • Beginner
  • *
  • Posts: 15
Virtuemart 2.0.1 N and Joomla 2.5.1   Can´t find config-file: "mydomain.com/administrator/index.php?option=com_virtuemart&view=config" shows a blank screen. So I can´t see the store in frontend. In backend/administrator I can see products and all other things but not configuration file.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10337
  • VirtueMart Version: 3+
liv, can you give more information.

Did you upgrade? have you tried the "database" fix in "extension manage"
if it was an upgrade, did you "install or update tables"

also, have you tried to reinstall (NOT UNINSTALL and reinstall)

You can try and install on top of the one you have
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

liv

  • Beginner
  • *
  • Posts: 15
I have joomla 2.5.1. When I use Virtuemart 2.0.1 h it works fine ( a few things that is not working like previous and next item), but when I install (not upgrade) Virtuemart 2.0.1 k the link to "product details" on category browse links to image of the item instead of "product-details"-page. When I install Virtuemart 2.0.1 N then there is a problem with the config-file. In backend I can see the control panel and see all the products and so on, but when I click on configuration a blank screen appears. In frontend I only see a blank screen, I can see nothing of the store.

I have Standard Admin Tools 2.2.0 and fix the tables and so on with this component. But nothing helps.

So I reinstall Virtuemart 2.0.1 h to be able to see the store again and the configuration i bacend. So I still use the "h"-version.

I have multi language site.

Liv

MaHe29

  • Jr. Member
  • **
  • Posts: 57
I think i have the same issue.
Local the site works like a charm, but when i upload it to a live testing location there are some issues.
The Joomlapart is working fine. But when i try to go to the shop i get blank screens and a http-500 Error.
In the backend i can open the products page and can edit the products. But i cant open the configuration.
This issue started after upgrading from K to N.
So it looks to me that the configuration file causes the problem.
I;ve tried the fix database tools, change the mappermissions, disabeld al lot of components and plugins even reinstall sample data.
Nothing worked, firebug doesnt show any info because you get a blanc page.
Because its working fine localy (with Xampp) which uses:
- Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
- MySQL-client versie: 5.1.41
- PHP uitbreiding: mysqli

And my live testing server
-Apache/2.2.3 (CentOS)
-MySQL-client versie: 5.1.41
-PHP uitbreiding: mysql

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
- MySQL-client versie: 5.1.41
- PHP uitbreiding: mysqli

And my live testing server
-Apache/2.2.3 (CentOS)
-MySQL-client versie: 5.1.41
-PHP uitbreiding: mysql

Do you see the difference?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

MaHe29

  • Jr. Member
  • **
  • Posts: 57
Hey Milbo,

Yes Mysql and Mysqli.
But this didnt cause any issues before.
I found out that the following file causes the error.
/administrator/components/com_virtuemart/models/user

When i replace this file with the old one (update K) evry thing works fine again.
I will try to find out what part causes the issue.

MaHe29

  • Jr. Member
  • **
  • Posts: 57
Line 129 is marked red in Dreamweaver. It seems there made some changes after line 120.
I'm not in to writing codes so i cant fix this.
PLease let me know if this is a general bug and if there will be a fix?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
I would be very intersting to know why this little change make so much trouble. Please provide me your php version. Thx.

Please try this version:
Code: [Select]
/**
* Returns a user with given vendor Id
*
* @author Max Milbers
* @param int $vendorId
*/
function getVendor($vendorId){
$vendorModel = VmModel::getModel('vendor');
$userId = VirtueMartModelVendor::getUserIdByVendorId($vendorId);
if($userId){
$this->setUserId($userId);
return $this->getUser();
} else {
return false;
}
}
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

liv

  • Beginner
  • *
  • Posts: 15
Hello

May be I should have informed you about my systeminformations too:

I use Mysqli

Database Version    5.1.49-log
Database Collation    utf8_general_ci
PHP Version    5.2.17
Web Server    Apache/2.2.6
Joomla! Version    Joomla! 2.5.1 Stable
Joomla! Platform Version    Joomla Platform 11.4.0 Stable
User Agent    Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7)

Liv

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

MaHe29

  • Jr. Member
  • **
  • Posts: 57
I would be very intersting to know why this little change make so much trouble. Please provide me your php version. Thx.

Please try this version:
Code: [Select]
/**
* Returns a user with given vendor Id
*
* @author Max Milbers
* @param int $vendorId
*/
function getVendor($vendorId){
$vendorModel = VmModel::getModel('vendor');
$userId = VirtueMartModelVendor::getUserIdByVendorId($vendorId);
if($userId){
$this->setUserId($userId);
return $this->getUser();
} else {
return false;
}
}

Thanx mate, this fixed my problem!
The PHP MyAdmin version online is 3.3.4 (this one caused a blank page)

The PHP MyAdmin version local is 3.2.4 (this one was working fine)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Not the version of phpmyadmin.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

MaHe29

  • Jr. Member
  • **
  • Posts: 57
The server runs on PHP 5.2.4
Local 5.3.1